CompuServe Messages

#Keyscript length

    28-Jul-95 12:34:10
Sb: #182607-#Keyscript length
Fm: CSA/CA 76077,2774
To: JEFF RIETER 74562,1657
Jeff, PMJI. Are you familiar with the concept of using variables that represent numerical values, rather than hard-coding in the actual # for each line of code? What Martin suggests is that you execute the line of code you planned (except you wanted 10,000 of them), using values read from a data file. This description should roughly indicate how you want to perform the task. Open data file While not end-of-file (start loop) Read line of data from file (x,y,z?) Your code line here – move object – establish keyframe? Wend – continue looping until you run out of data Close file & end script If you want, you can code in the # of lines you expect in the data file (or have it as the first value read from the file. Then loop for the specific # of data points/lines expected. Kevin Krell – Computer Support Associates