Variables and Declarations

SerioScript has two types of variable - local variables, and properties.

Naming convention

It is good practice to choose a convention for naming variables. Throughout this help file strings are prefixed with 's', numbers with 'n', dates with 'd', booleans with 'b', date arrays with 'da' and so on.

Local variables are prefixed with 'l' and Properties (global variables) with 'g'.

Examples:

 

gsaMyStringArray - global string array

lsMyString - local string

lnCount - local number

abEnable - boolean passed as an argument to a function