SAVES THE CONTENT OF THE SYSTEM OBJECT NUMBER N INTO THE FILE F
ACTION
The command FILE_SAVE N,F saves the content of the system object designated by its number N into the file F.
The system object is of type : MEMO, MEMO_RICH, COMBO, LIST, PICTURE, DLIST, SCENE2D, IMAGE, SYNEDIT.
SYNTAX:
FILE_SAVE N,F
USE ERROR EXAMPLE
rem EXAMPLE 1: saving the content of a LIST
rem save content of the system object number 1, which can be a MEMO, a COMBO, a LIST, a DLIST
file_save 1,"c:\list of names.txt"
rem ---------------------------------
rem EXAMPLE 2: saving a picture
rem create a PICTURE
picture 1
rem the PICTURE becomes the drawing target
2d_target_is 1
rem draw a circle
2d_circle 30,30,20
rem save this circle into a graphic File (BMP)
file_save 1,"c:\My Circle.bmp"
FILE_SAVE
FILE_SAVE N,F
SEE ALSO
MEMO
COMBO
LIST
PICTURE
FILE_LOAD