Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
(Redirected from Literals)



Literals

Type

Description

Examples

string

Enclosed with ‘“’ and ‘“’

Not contain ‘“’ or ‘/’ inside.

New line character is not allowed

"an"

date

Must be of the form: #yyyy-mm-dd hh:mm:ss# or #yyyy-mm-dd# used for where expression

Array datetime: {yyyy, mm, dd, hh, mm, ss, [miliseconds], [week] }

Note: Timezone is available from 5.6. Read note below.

#2006-04-11 10:14:20#

number

Could be an integer, a floating point or decimal constant

123

1234E 1

123.4

range

Enclosed with [ and ]

[1]

[1,2]

[1-2]

[1-2, 1]

[1, 2, 3]

array

Enclosed with { and }

{1, 2, 3}


Note: Timezone for datetime (V5.6)

Array datetime: {yyyy, mm, dd, hh, mm, ss, [miliseconds], [week] , [timezone]} 

Pages in category "Literals"

This category contains only the following page.

Contents