Author Topic: Namespace  (Read 572 times)

0 Members and 1 Guest are viewing this topic.


  • Hero Member
  • *****
  • Posts: 3607
« on: May 04, 2018, 05:54:57 PM »
I noticed a topic on the JRS forum about private properties and methods.

In Script BASIC, a MODULE is used as a namespace or CLASS. Access to functions and variables within the MODULE must be prefixed with module name and two colons. MAIN is SB's primary namespace but a prefix isn't required as it would make the language too verbose.