you have to put the str_for_num and str_cat lines in a function, else it eill indeed give you that error... that's the only thing i can think of, since i use that kind of code all the time, and it does work properly for me.
give it a try

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/