General syntax
SanScript is a relatively easy language to learn,
but you must follow some basic rules when you write scripts.
- SanScript is case-sensitive, as are names
of fields, windows, forms, menus and other resources. All keywords
in sanScript must be lowercase.
- Each statement in a script must end with a
semi-colon. Statements can span multiple lines.
- Comments can appear anywhere in a
script. They must be bounded by braces – { } – and can span
multiple lines.
- If a script has parameters or local
variables, these must be declared at the beginning of the script
before any other lines in the script.
- Each script must be less than 24,000
characters in length, including spaces and comments.