READFILE
SAVE_TO_VARIABLE, FILE

This function will read the contents of a file and save them to a varaible.

NOTE: you will need to set permissions so you can read the file from the local server.

Example

DEF contents$=READFILE(_ROOT + "/kytschi/omega_doom/gfx/intro/game-title1.gfx")

See also