PDA

View Full Version : adding a line to an existing expression with loop


thomwickes
01-09-2007, 08:06 PM
Hey guys - anyone know how to add a line of code to an existing expression with every iteration of a loop?

whenever i try and edit an expression, it includes the entire expression in the line of script it uses to edit it.

in order to add a new line with every iteration of a loop, will i have to read in the current contents of the expression into a string and then add this string and the new line of code?

thomwickes
01-09-2007, 08:21 PM
don't worry got it working :)

isdanny
01-20-2007, 07:54 AM
don't worry got it working :)

care to share how u have done it? :)

CGTalk Moderation
01-20-2007, 07:54 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.