Contents | Index | < Browse | Browse >
TEXTFILE FileName -----> ###
This is a PARSER command - i.e. it is executed while Gui4Cli
is reading your file.
It will create a file named whatever "FileName" you give and
will start writing into the file all the lines following this
command, untill the ending marker ### is reached.
example :
TEXTFILE ram:MyFile
This is some sample text etc..
blah.. blah...
My life story.. etc..
###
NOTE that the "###" which marks the end of the file *MUST* be
at the begining of a line otherwise it will not be recognised.
This is a nice command for embedding small files into a gui,
such as ARexx scripts, data for listviews etc.
It can appear anywhere in a gui and does not change the flow
in any way - i.e. it's like it doesn't exist.
Example : Run Gui Source