using variables in file names

Lurie, Nicholas lurien at bschool.unc.edu
Mon Jul 1 15:34:01 EDT 2002


Is there anyway to create a file using a variable?

Suppose I have a variable called sub and I want to save text to a file named
sub.txt where sub is a number from 1 to 100.

Normally, I would write

open file "sub.txt"
put results & cr into file "sub.txt" at eof
close file "sub.txt"

How can I change the filename based on the current value of sub?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.runrev.com/pipermail/metacard/attachments/20020701/6d70a1cd/attachment.htm


More information about the metacard mailing list