TEXT

TEXT N,T

SET THE TEXT T TO BE DISPLAYED BY THE SYSTEM OBJECT NUMBER N

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

ACTION

The command TEXT N,T set the text T displayed by the system object designated by its number N.

The system object is an EDIT or a COMBO.

SYNTAX: TEXT N,T

  • 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.
  • T = text to be displayed on the system object.

USE

  • The command TEXT is used to display a text in an EDIT or in a COMBO.

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 system object number N is not of the type : EDIT, COMBO.
  • If text T is not a correct expression.

EXAMPLE

rem create an EDIT

edit 1

rem set the text to be displayed

text 1,"Enter the value"

SEE ALSO

EDIT

COMBO