View previous topic :: View next topic
|
Author |
Message |
anirudh1985 Currently Banned New User
Joined: 22 Aug 2007 Posts: 66 Location: bangalore
|
|
|
|
is it possible to asign the values of a compound variable to a string?
for example...i have a compound variable
comp.1="welcome"
comp.2="2"
comp.3="rexx"
and i have a string str....
cani now make the contents of str as "welcome 2 rexx"? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
str = comp.1 comp.2 comp.3 |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Code: |
sayit = ''
Do A = 1 to 3
sayit = sayit comp.A
End
Say sayit
|
|
|
Back to top |
|
|
|