ChaiScript Tutorial (5.5) – Global Variables in ChaiScript

Besides calling ChaiScript functions from C++. You can also access global variables from C++. Global Variables in ChaiScript Unlike most languages, where weather a variable is global or not is defined by if the variable exists in the root scope. Such as the following in C++: ChaiScript uses the global keyword to specify if a variable... Continue Reading →

Website Powered by

Up ↑