Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Literals: Difference between revisions

From Catglobe Wiki
jrfconvert import
Β 
Cg_pham (talk | contribs)
No edit summary
Line 1: Line 1:
[[Category:HelpBooks]]
ο»Ώ
ο»Ώ
Β 
=== LiteralsΒ  ===
Β 
Β 
Β 
{| width="1189" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic"
|- align="left" valign="top"
| width="204" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Type'''
Β 
| width="589" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Description'''
Β 
| width="396" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Examples'''
Β 
|- align="left" valign="top"
| width="204" style="border:1px solid #010101;" |
string
Β 
| width="589" style="border:1px solid #010101;" |
Enclosed with β€˜β€œβ€™ and β€˜β€œβ€™
Β 
Not contain β€˜β€œβ€™ or β€˜/’ inside.
Β 
New line character is not allowed
Β 
| width="396" style="border:1px solid #010101;" |
"an"
Β 
|- align="left" valign="top"
| width="204" style="border:1px solid #010101;" |
date
Β 
| width="589" style="border:1px solid #010101;" |
Must be of the form: #yyyy-mm-dd hh:mm:ss# or #yyyy-mm-dd# used for where expression


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


Note: Timezone is available from 5.6. Read note below.
Note: Timezone is available from 5.6. Read note below.
| style="border: 1px solid #010101" width="396" |
Β 
<nowiki>#2006-04-11 10:14:20#</nowiki>
| width="396" style="border:1px solid #010101;" | Β 
#2006-04-11 10:14:20#
Β 
|- align="left" valign="top"
|- align="left" valign="top"
| style="border: 1px solid #010101" width="204" |
| width="204" style="border:1px solid #010101;" | Β 
number
number
| style="border: 1px solid #010101" width="589" |
Β 
| width="589" style="border:1px solid #010101;" | Β 
Could be an integer, a floating point or decimal constant
Could be an integer, a floating point or decimal constant
| style="border: 1px solid #010101" width="396" |
Β 
| width="396" style="border:1px solid #010101;" | Β 
123
123


Line 19: Line 57:


123.4
123.4
|- align="left" valign="top"
|- align="left" valign="top"
| style="border: 1px solid #010101" width="204" |
| width="204" style="border:1px solid #010101;" | Β 
range
range
| style="border: 1px solid #010101" width="589" |
Β 
| width="589" style="border:1px solid #010101;" | Β 
Enclosed with [ and ]
Enclosed with [ and ]
| style="border: 1px solid #010101" width="396" |
Β 
| width="396" style="border:1px solid #010101;" | Β 
[1]
[1]


Line 34: Line 75:


[1, 2, 3]
[1, 2, 3]
|- align="left" valign="top"
|- align="left" valign="top"
| style="border: 1px solid #010101" width="204" |
| width="204" style="border:1px solid #010101;" | Β 
array
array
| style="border: 1px solid #010101" width="589" |
Β 
| width="589" style="border:1px solid #010101;" | Β 
Enclosed with { and }
Enclosed with { and }
| style="border: 1px solid #010101" width="396" |
Β 
| width="396" style="border:1px solid #010101;" | Β 
{1, 2, 3}
{1, 2, 3}


Note: Timezone for datetime (V5.6)
|}


Array datetime: {yyyy, mm, dd, hh, mm, ss, [miliseconds], [week] , [timezone]}
[[Category:HelpBooks]]
__NOTOC__
<!-- imported from file: 237.htm-->

Revision as of 10:17, 4 January 2012

ο»Ώ

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.

  1. 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}

Contents