|
Myrkul Wanderer
Joined: 21 Aug 2008 Posts: 85
|
|
Last edited by Myrkul on Thu Apr 14, 2011 11:16 pm; edited 1 time in total |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sun Jun 14, 2009 3:12 pm |
%concat returns a string, "@var1". There's one item in the string "@var1". What you want is for CMUD to interpret that string as a reference to a variable - @{%concat("@var",1)} will do this.
|
|
|
|
Myrkul Wanderer
Joined: 21 Aug 2008 Posts: 85
|
Posted: Sun Jun 14, 2009 3:19 pm |
[edit][/edit]
|
|
Last edited by Myrkul on Thu Apr 14, 2011 11:16 pm; edited 1 time in total |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jun 15, 2009 5:21 pm |
Or, another solution that might be easier to read is:
%numitems(%expand(%concat("@var",1))) |
|
|
|
|
|