You can probably use sprintf.
Your code could be something like this:
string col_title = ""
discrete groups
matrix val = values(groups)
loop i = 1..rows(val) --quiet
sprintf myvar "%d", val[$i]
col_title += @myvar
col_title += " "
endloop
Bye
Giuseppe
On Sat, 2011-10-15 at 14:10 +0100, artur bala wrote:
string col_title = ""
discrete groups
matrix val = values(groups)
loop i = 1..rows(val) --quiet
col_title += val(i) # of course, it doesn't work
col_title += " "
endloop