Skip to main content

numpubvars

warning

This function starts with a lowercase letter.

Description

Counts how many public variables there are in the script.

Returns

The number of public variables declared.

  • getpubvar: Gets a specific public variable from the current script.
  • setpubvar: Sets a specific public variable in the current script.
  • existpubvar: Checks if a specific public variable exists in the current script.