Main About Download Documentation Resources

Identifiers

Any time you define a function or variable, it is given a unique name called an "identifier". To prevent identifiers from being confused with other items in an expression, they must follow a naming convention. Every programming language has one and it is fairly consistent from language to language.

In Flowgorithm, identifiers must adhere to the following rules:

  • They must start with a letter.
  • After the first letter, the identifier can contain addition letters or numbers.
  • Spaces are not allowed.
  • They cannot be reserved words or words already defined by Flowgorithm (please see below)

Also note:

  • Languages such as Visual Basic and C also allow the underscore character "_". Flowgorithm, however, does not allow it.
  • Identifiers are not case-sensitive.

The following are some simple example identifiers.

Valid Identifiers Notes
x Identifiers can be single letter.
name  
noun2 Numbers are allowed after the first letter

Keywords

Overview

Many words using in programming languages overlap the naming convention used by identifiers. In these cases, the word is "reserved" and cannot be used for Identifiers. In addition, many programming languages predefine functions and other constants. These also cannot be used.

Reserved Words

Flowgorithm only has a few reserved words that are used in expressions.

and not true
false or  
mod pi  

Data Type Keywords

To prevent confusion, the system also prevents identifiers from using the data type names.

boolean real
integer string

Illegal Keywords (used in functions)

Flowgorithm does not permit the names of intrinsic functions to be used.

abs int sin tofixed
arccos len size tointeger
arcsin log sqrt tostring
arctan log10 tan toreal
char random tochar  
cos sgn tocode  

Reserved for Future Use

Future versions of Flowgorithm will expand the number of intrinsic functions. The following were reserved if they are included.

arccosh cosh
arcsinh sinh
arctanh tanh