@FILE id, filename$[, table]
The innovative feature of the @FILE
preprocessor command is that when
you compile your script, the file will be linked to it and you can still
access it in the same way as if it were a normal file on your harddisk,
i.e. you can use the normal functions of the DOS library on the file.
The third argument is optional. It is a table that can be used to set further options for the operation. The following fields of the table can be used:
Link:
False
if you do not want to have this file
linked to your executable/applet when you compile your script.
This field defaults to True
which means that the file is linked
to your executable/applet when Hollywood is in compile mode.
Adapter:
UserTags:
If you want to open the file manually, please use the OpenFile() command.
@FILE 1, "Highscore.txt"The declaration above opens the file "Highscore.txt" for further processing in the script.