Local variables

VAR MyLocalVariable
MyLocalVariable = 0     //You must give variables a value before using them

Global variables

GLOBALVAR variables are visible to all scripts in BEYOND. You need to create them somewhere. You could create a PangoScript with them all in if say using for constant values. MIDI devices and Background scripts which can be useful for this too (Menu > Settings > Midi > Your MIDI device > Scripting tab).

GLOBALVAR MyGlobalVariable
MyGlobalVariable = 0     //You must give variables a value before using them

GLOBALVAR ColorWhiteR, ColorWhiteG, ColorWhiteB
ColorWhiteR = 255
ColorWhiteG = 255
ColorWhiteB = 255

Comments

Your email address will not be published. Required fields are marked *