FILLS THE SYSTEM OBJECT NUMBER N WITH THE CONTENT OF FILE F
ACTION
The command FILE_LOAD N,F fills the system object designated by its number N with the content of file F.
The system object is of type : MEMO, MEMO_RICH, COMBO, LIST, PICTURE, SOUND, MOVIE, BUTTON_PICTURE, DLIST, SCENE2D, HVIEWER, IMAGE, SYNEDIT.
SYNTAX:
FILE_LOAD N,F
USE ERROR EXAMPLE
rem EXAMPLE 1: filling a LIST
rem create a LIST
list 1
rem fill it with the content of a file
file_load 1,"list of names.txt"
rem ----------------------------------
rem EXAMPLE 2: displaying a PICTURE
rem create a PICTURE
picture 1
rem fill it with a graphic File
file_load 1,"My House.bmp"
rem ----------------------------------
rem EXAMPLE 3: filling a sound and playing it
rem create a SOUND
sound 1
rem load a sound file
file_load 1,"crack.wav"
rem play the sound
play 1
FILE_LOAD
FILE_LOAD N,F
SEE ALSO
MEMO
MEMO_RICH
COMBO
LIST
PICTURE
SOUND
MOVIE
MEMO_RICH
BUTTON_PICTURE
DLIST
SCENE2D
HVIEWER
IMAGE
SYNEDIT
PLAY
FILE_SAVE