Scripting > mrScriptBasic overview > mrScriptBasic language reference > Script constants
 
Script constants
Constants are a convenient way to use specific values without having to remember the value itself. Using constants also makes your code more maintainable should the value of any constant change. These constants are already defined in mrScriptBasic, so you do not need to declare them in your code; just use them in place of the values they represent.
Color constants: Define basic colors that can be used in scripting.
Date and time constants: Define date and time constants used by date and time functions.
Date and time format constants: Define constants used to format dates and times.
String constants: Define some non-printable characters used in string manipulation.
Type constants: Define the Variant subtypes.
See also
mrScriptBasic language reference