Data types

ACLScript supports four basic data types: logical, numeric, character, and datetime.

Type Description Limit Qualifier Examples
Character A series of one or more characters. 32,767 bytes Single quotation marks, or double quotation marks
  • 'John Doe'
  • "John Doe"
Numeric Numeric values contain digits from 0 to 9 and, optionally, a negative sign and a decimal point. 22 digits No qualifier
  • 100
  • -5
  • 5.01
  • 22222.1232
Datetime A date, datetime, or time value expressed in a supported format.
  • Minimum = 1900-01-01
  • Maximum = 9999-12-31
  • Backquotes
  • Leading 't', or a single blank space, for time values
  • `20160101`
  • `141231`
  • `t2359`
  • `20141231T235959`
  • `20141231 235959`
Logical The simplest data type. Logical data expresses a truth value of either true or false.

Comparison operators such as '=', '>', and '<' return logical values.

  • T
  • F
No qualifier ASSIGN v_truth = 5 > 4 evaluates to T