SAVES THE GRID NUMBER N INTO THE FILE F, FROM ROW 1 TO R AND FROM COLUMN 1 TO C
ACTION
The command GRID_SAVE N,R,C,F saves the GRID number N into the file F, from row 1 to R and from column 1 to C.
The file F is a text type, with the configuration:
nunber of rows (R)
number of columns (C)
cell 1,1
- - -
cell 1,C
cell 2,1
- - -
cell 2,C
- - -
cell R,1
- - -
cell R,C
SYNTAX:
GRID_SAVE N,R,C,F
USE ERROR EXAMPLE
rem create a GRID
grid 1
rem place it
top 1,10:left 1,10
rem size it
width 1,350:height 1,150
rem fill it with values
grid_write 1,1,1,"Cell 1,1"
grid_write 1,1,2,"Cell 1,2"
grid_write 1,1,3,"Cell 1,3"
grid_write 1,1,4,"Cell 1,4"
grid_write 1,2,1,"Cell 2,1"
grid_write 1,2,2,"Cell 2,2"
grid_write 1,2,3,"Cell 2,3"
grid_write 1,2,4,"Cell 2,4"
grid_write 1,3,1,"Cell 3,1"
grid_write 1,3,2,"Cell 3,2"
grid_write 1,3,3,"Cell 3,3"
grid_write 1,3,4,"Cell 3,4"
rem save it to a texte file
grid_save 1,3,4,"grid.txt"
GRID_SAVE
GRID_SAVE N,R,C,F
SEE ALSO
GRID
GRID_CLEAR
GRID_COLUMN
GRID_COLUMN()
GRID_COLUMN_DELETE
GRID_COLUMN_FIXED
GRID_COLUMN_FIXED()
GRID_COLUMN_INSERT
GRID_COLUMN_SIZING_OFF
GRID_COLUMN_SIZING_ON
GRID_COLUMN_WIDTH
GRID_COLUMN_WIDTH()
GRID_FIXED_COLOR
GRID_LOAD
GRID_ONE_COLUMN_WIDTH
GRID_ONE_COLUMN_WIDTH()
GRID_ONE_ROW_HEIGHT
GRID_ONE_ROW_HEIGHT()
GRID_READ$()
GRID_ROW
GRID_ROW()
GRID_ROW_DELETE
GRID_ROW_FIXED
GRID_ROW_FIXED()
GRID_ROW_HEIGHT
GRID_ROW_HEIGHT()
GRID_ROW_INSERT
GRID_ROW_SIZING_OFF
GRID_ROW_SIZING_ON
GRID_WRITE
GRID_X_TO_COLUMN()
GRID_Y_TO_ROW()