CAPTION

CAPTION N,T

SET THE TEXT T AS THE CAPTION OF THE SYSTEM OBJECT NUMBER N

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

ACTION

The command CAPTION N,T set the text T (generally a small text as explanation) as caption of the system object designated by its number N.

The system object is of type : ALPHA, BUTTON, CHECK, FORM, SUB_MENU, OPTION, CONTAINER_OPTION.

SYNTAX: CAPTION 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 (string).

USE

  • The command CAPTION is used to display a small text (an explanation, a role, a definition ...) on a system object.

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 of the type : ALPHA, BUTTON, CHECK, FORM, SUB_MENU, OPTION, CONTAINER_OPTION.
  • If text T is not a correct string expression.

EXAMPLE

rem create a BUTTON

button 1

rem give it a caption

caption 1,"Compute"

SEE ALSO

ALPHA

BUTTON

CHECK

OPTION