Revision history for KeyPgConst


Revision [21897]

Last edited on 2017-09-18 07:30:47 by fxm [Added visibility rules]
Additions:
Constants follow visibility rules similar to those of variables for Namespace blocks, Type blocks, and compound block statements.
Deletions:
Constants follow visibility rules similar to those of variables (Namespace blocks, Type blocks, compound block statements).


Revision [21896]

Edited on 2017-09-16 10:32:51 by fxm [Added visibility rules]
Additions:
Constants follow visibility rules similar to those of variables (Namespace blocks, Type blocks, compound block statements).


Revision [20856]

Edited on 2016-03-12 15:56:34 by fxm [Formatting]
Additions:


Revision [20100]

Edited on 2016-02-10 15:55:56 by DkLwikki [Update link format]
Additions:
**Const** //symbolname1// [AS [[DataType|DataType]]] = //value1// [, //symbolname2// [AS [[DataType|DataType]]] = //value2//, ...]
**Const** [AS [[DataType|DataType]]] //symbolname1// = //value1// [, //symbolname2// = //value2//, ...]
Declares non-modifiable constant data that can be integer or decimal (floating-point) numbers or strings. The constant type will be inferred if ##[[DataType|DataType]]## isn't explicitly given.
Specifying ##[[KeyPgString|String * size]]##, ##[[KeyPgZstring|Zstring * size]]## or ##[[KeyPgWstring|Wstring * size]]## as ##[[DataType|DataType]]## is not allowed.
Specifying ##[[KeyPgString|String]]## as ##[[DataType|DataType]]## is tolerated but without effect because the resulting type is always a ##[[KeyPgZstring|Zstring * size]]##.
- QB does not support the ##[[KeyPgAs|as]]## ##[[DataType|datatype]]## syntax.
- ##[[KeyPgPpdefine|#Define]]##
- ##[[KeyPgConstQualifier|Const (Qualifier)]]##
- ##[[KeyPgConstMember|Const (Member)]]##
- ##[[KeyPgEnum|Enum]]##
- ##[[KeyPgVar|Var]]##
Deletions:
**Const** //symbolname1// [AS [[DataType DataType]]] = //value1// [, //symbolname2// [AS [[DataType DataType]]] = //value2//, ...]
**Const** [AS [[DataType DataType]]] //symbolname1// = //value1// [, //symbolname2// = //value2//, ...]
Declares non-modifiable constant data that can be integer or decimal (floating-point) numbers or strings. The constant type will be inferred if ##[[DataType DataType]]## isn't explicitly given.
Specifying ##[[KeyPgString String * size]]##, ##[[KeyPgZstring Zstring * size]]## or ##[[KeyPgWstring Wstring * size]]## as ##[[DataType DataType]]## is not allowed.
Specifying ##[[KeyPgString String]]## as ##[[DataType DataType]]## is tolerated but without effect because the resulting type is always a ##[[KeyPgZstring Zstring * size]]##.
- QB does not support the ##[[KeyPgAs as]]## ##[[DataType datatype]]## syntax.
- ##[[KeyPgPpdefine #Define]]##
- ##[[KeyPgConstQualifier Const (Qualifier)]]##
- ##[[KeyPgConstMember Const (Member)]]##
- ##[[KeyPgEnum Enum]]##
- ##[[KeyPgVar Var]]##


Revision [17153]

Edited on 2014-08-07 14:15:04 by FxMwikki [Complemented description]
Additions:
Declares non-modifiable constant data that can be integer or decimal (floating-point) numbers or strings. The constant type will be inferred if ##[[DataType DataType]]## isn't explicitly given.
Specifying ##[[KeyPgString String * size]]##, ##[[KeyPgZstring Zstring * size]]## or ##[[KeyPgWstring Wstring * size]]## as ##[[DataType DataType]]## is not allowed.
Specifying ##[[KeyPgString String]]## as ##[[DataType DataType]]## is tolerated but without effect because the resulting type is always a ##[[KeyPgZstring Zstring * size]]##.
Deletions:
Declares non-modifiable constant data that can be integer or decimal (floating-point) numbers or strings. The constant type will be inferred if //DataType// isn't explicitly given.


Revision [17151]

Edited on 2014-08-07 10:25:50 by FxMwikki [Added alternative syntax]
Additions:
**Const** //symbolname1// [AS [[DataType DataType]]] = //value1// [, //symbolname2// [AS [[DataType DataType]]] = //value2//, ...]
//or//
**Const** [AS [[DataType DataType]]] //symbolname1// = //value1// [, //symbolname2// = //value2//, ...]
Deletions:
**Const** //symbolname// [AS [[DataType DataType]]] = //value// [, ...]


Revision [12577]

The oldest known version of this page was created on 2008-02-14 14:24:42 by JeffMarshall [Added alternative syntax]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode