Naming Schemes for Variables

You can use naming schemes for variables when adding them to formulas; however, you must avoid using reserved words as variable names.

Naming Schemes

You can use one of these naming schemes:

  • Variable names comprise one or more words, joined by underscores. The words must each start with a letter and can be followed by a combination of letters and digits.

  • Variable names begin and end with double quotes (''). Between the quotes, you can use any printable characters, such as ''This is a quoted variable name''.

    Note: Any word consisting of only digits could be mistaken for numbers.

Formulas aren't case sensitive. For example, the variable named EMPLOYEE_NAME is the same as the variable employee_name.

Tip: The maximum length of a variable name is 255 characters.

Reserved Words

Ensure that you don't use these reserved words as variable names:

Source of Reserved Words

Reserved Words

Statements

ALIAS
AND
ARE
AS
CHANGE_CONTEXTS
DEFAULT
DEFAULT_DATA_VALUE
DEFAULTED
ELSE
EXIT
FOR
IF
INPUTS
IS
LIKE
LOOP
NEED_CONTEXT
NOT
OR
RETURN
THEN
USING
WAS
WHILE

Array Types

EMPTY_DATE_NUMBER
EMPTY_NUMBER_NUMBER
EMPTY_TEXT_NUMBER
EMPTY_DATE_TEXT
EMPTY_NUMBER_TEXT
EMPTY_TEXT_TEXT

Formula Data Types

DATE
DATE_NUMBER
DATE_TEXT
NUMBER
NUMBER_NUMBER
NUMBER_TEXT
TEXT
TEXT_NUMBER
TEXT_TEXT

Array Methods

COUNT
DELETE
EXISTS
FIRST
LAST
NEXT
PREVIOUS
PRIOR

Built-in Calls

CONTEXT_IS_SET
EXECUTE
GET_CONTEXT
GET_OUTPUT
IS_EXECUTABLE
SET_INPUT
WSA_DELETE
WSA_EXISTS
WSA_GET
WSA_SET