OBJECT_INTERNAL()

OBJECT_INTERNAL(N)

RETURNS AN INTERNAL NUMBER GENERATED WHEN THE SYSTEM OBJECT NUMBER N IS CREATED

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

ACTION

The function OBJECT_INTERNAL(N) returns an internal number generated when the system object number N is created and returns -1 if the system object number N does not exist.

SYNTAX: OBJECT_INTERNAL(N)

  • N = system object number (integer or real). Must be greater than 0.

USE

  • The function OBJECT_INTERNAL() is used to know the internal number generated when a system object is created.

ERROR

  • None.

EXAMPLE

button 1

print object_internal(1)

SEE ALSO

-