|
![](/i/fill.gif) |
"B. Gimeno" <nomail@nomail> wrote:
> By the way, is there a powerful and unavoidable reason to introduce as a
> parameter the id_file handler?
Yes. If the macro is called more than once.
I found a workaround, though.
#macro Write_something (Filename, N)
#fopen F Filename append
#write (F, N)
#fclose F
#end
#declare FILE1 = "test.txt"
#fopen F FILE1 write #fclose F //zero the output file
Write_something (FILE1, "Hello,\n")
Write_something (FILE1, "world.\n")
Post a reply to this message
|
![](/i/fill.gif) |