GRID_WRITE

GRID_WRITE N,R,C,S

WRITES THE VALUE OF S INTO THE CELL (R,C) OF THE GRID NUMBER N

  • Type: Command
  • Parameters: 4
  • Group: System Objects

ACTION

The command GRID_WRITE N,R,C,S writes the string S (text or string variable) into the cell (R,C) of the GRID number N, R is the row number and C is the column number.

In a GRID, the first row number and the first column number are 1.

SYNTAX: GRID_WRITE N,R,C,S

  • N = system object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of system objects.
  • R = row number (integer or real)
  • C = column number (integer or real)
  • S = string (text or string variable)

USE

  • The command GRID_WRITE is used to write into a GRID cell.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of system objects.
  • If number N is less than 0.
  • If system object number N does not exist.
  • If number N is not the number of a system object : GRID.
  • If R is not a correct expression.
  • If C is not a correct expression.
  • If S is not a correct string expression.

EXAMPLE

rem create a GRID with its default position and dimensions

grid 1

rem write into cell (2,3)

grid_write 1,2,3,"Hello"

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_SAVE

GRID_X_TO_COLUMN()

GRID_Y_TO_ROW()