Naming file
[1/2] from: john::thousand-hills::net at: 6-Aug-2001 22:31
How do I name a file using a variable?
If I wanted to name a file with a variable extracted from a GCI value, how
would I do that?
I know how to extract the value into the variable, but not how to name the
file with that variable
instead of this:
write %output.html reduce
/john
[2/2] from: carl:cybercraft at: 7-Aug-2001 16:06
On 07-Aug-01, john wrote:
> How do I name a file using a variable?
> If I wanted to name a file with a variable extracted from a GCI
<<quoted lines omitted: 4>>
> write %output.html reduce
> /john
Is this what you're trying to do? ...
>> name: "a-file.txt"
== "a-file.txt"
>> filename: to-file name
== %a-file.txt
>> write filename "whatever"
--
Carl Read
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted