SECRET_ON

SECRET_ON N

THE SYSTEM OBJECT NUMBER N DISPLAYS ITS TEXT AS STARS

  • Type: Command
  • Parameter: 1
  • Group: System Objects

ACTION

The command SECRET_ON N displays the text of the system object designated by its number N as a string of stars.

The system object is an EDIT.

Each character of EDIT is replaced by a character "*" for the display.

Remark : SECRET_ON affects the appearance of the EDIT only. The value returned by the TEXT$() function gives the actual characters.

SYNTAX: SECRET_ON N

  • 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.

USE

  • The command SECRET_ON is used to enter passwords with an EDIT.

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 an EDIT.

EXAMPLE

rem create an EDIT

edit 1

rem display a text

text 1,"Hello"

wait 1000

rem make it secret

secret_on 1

wait 1000

rem make it clear

secret_off 1

SEE ALSO

EDIT

SECRET_OFF