|
|
The following code generates this error:
Write(FileHandle <----ERROR
Parse Error: Expected 2 parameters but only 0 found.
#macro Write (File, Doodle)
#write (File, Doodle)
#end
#fopen FileHandle "c:\\1.txt" write
Write(FileHandle,1)
#fclose FileHandle
While the following code generates this error:
Write(1, FileHandle <----ERROR
Parse Error: Expected 2 parameters but only 1 found.
#macro Write (Doodle, File)
#write (File, Doodle)
#end
#fopen FileHandle "c:\\1.txt" write
Write(1, FileHandle)
#fclose FileHandle
My question is: can I pass file handles as parameters to macros, and
if yes, how?
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|