I dont know exactly what you are trying to acheive, but try this name1="Hello My world" name2="Hello The world" name3="Hello To the world" name4="Hello Its a world" name5="Hello world, Goodbye" cpre = 'name' FOR x=1 TO 20 cvarsubt = cpre + ALLT(STR(x)) *(cvarsubst now contains 'Namex' where x is the representation of x) ?&cvarsubst NEXT
If this doesnt help, repost, and Ill try to see what I can do.
Regards Marc
"Yesterday starts tomorrow, tomorrow starts today and the problem always seems to be were picking up the pieces on the richochet"
-Fish (From "Jigsaw" on "Misplaced Childhood" by Marillion