-
Notifications
You must be signed in to change notification settings - Fork 0
Variables
Ben LaPaz edited this page Aug 30, 2019
·
2 revisions
There are two types of variables, strings and integers. The type is not defined but determined automatically based on if the assigned value is a number or is text inside of quotes.
number = 10
string = "Hello World"
Variables that need to be accessed anywhere in the application can be prefixed with global. This allows them to be referenced in any functions or events. Without the global prefix, variables are only accessible inside of the function or event they are defined in.
global hello = "Hello World"
Global variables should be defined at the top of the file, after any imports.
import system
global example = "example"
function Main()
{
...
}
Buddy is an app that runs custom scripts for quick and easy interaction with Window's events
Request Feature
·
Report Bug