Posted 02 March 2007 - 11:01 PM
I have tried several variations similar to the below example:
str = 'wall_' + global.wall
Essentially, if global.wall = 3 I would like my string to be "wall_3"
Any help would be appreciated. Thanks.
Posted 02 March 2007 - 11:23 PM
I figured it out on my own, so I thought I'd share just in case it would be useful to anyone else.
num = string(global.wall);
str = 'wall_' + num;
Posted 02 March 2007 - 11:24 PM
str = 'wall_' + string(global.wall)
EDIT: oh solved allready ^^ ok
Edited by FoxInABox, 02 March 2007 - 11:25 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users