Oxygen Basic

Programming => Problems & Solutions => Topic started by: JRS on May 04, 2018, 05:54:57 PM

Title: Namespace
Post by: JRS 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.