[comp.sys.mac] Files and

yvw@gmdzi.UUCP (Yvo Van Wezemael) (03/15/89)

The question I have arised in the context of 4D, but I think this
could be the same for Hypercard also. What I need to do is to write to
a file from external command/functions. The reason for this is that
the file-operations I got in 4D's language are too poor. The way I
would like to have it are (mainly) three externals:

1) open file
2) write some output
3) close file

The problem is that I can't use global vars in externals. So how can I
reference the file in the other externals. Or is it possible to just
open the file using 4D and access it in some way inside the externals?

	Thanks for any help	---	Yvo Van Wezemael

-- 
Yvo Van Wezemael:
	German National Research Laboratory for Computer Science (GMD)
        P.O. Box 1240 (Schloss Birlinghoven)   D-5205 Sankt Augustin 1
	phone: (+49 2241) 142422	yvw@gmdzi.UUCP