NUMBER_OBJECTS

NUMBER_OBJECTS

RETURNS THE NUMBER OF SYSTEM OBJECTS

  • Type: System Variable
  • Parameter: 0
  • Group: System Objects

ACTION

The system variable NUMBER_OBJECTS returns the number of used system objects.

SYNTAX: NUMBER_OBJECTS in an expression

USE

  • The system variable NUMBER_OBJECTS is used to know the number of used system objects.

ERROR

  • None.

EXAMPLE

rem create 10 BUTTONs

dim i%

for i%=1 to 10

button i%:caption i%,"Button "+str$(i%)

left i%,20*i%:top i%,20*i%

next i%

print

print

print

rem print the number of objects

print number_objects

SEE ALSO

-