Revision history for KeyPgCbool


Revision [25441]

Last edited on 2021-10-11 09:33:20 by JeffMarshall [insert version section]
Additions:
{{fbdoc item="ver"}}
- Since fbc 1.04.0


Revision [20837]

Edited on 2016-03-12 15:24:15 by fxm [Formatting]

No Differences

Revision [20835]

Edited on 2016-03-12 15:20:50 by fxm [Formatting]
Additions:



Revision [20077]

Edited on 2016-02-10 15:55:19 by DkLwikki [Update link format]
Additions:
Converts numeric or string expression to a boolean (##[[KeyPgBoolean|Boolean]]##)
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Cbool** ( [[KeyPgByval|byval]] //expression// [[KeyPgAs|as]] [[DataType|datatype]] ) [[KeyPgAs|as]] [[KeyPgBoolean|boolean]]
[[KeyPgType|Type]] //typename//
[[KeyPgDeclare|declare]] [[KeyPgOperator|operator]] [[KeyPgCast|cast]] ( ) [[KeyPgAs|as]] [[KeyPgBoolean|boolean]]
a numeric, string, or user defined type to cast to a ##[[KeyPgBoolean|Boolean]]## value
A ##[[KeyPgBoolean|Boolean]]## value.
The ##**Cbool**## function converts a zero value to ##[[KeyPgFalse|False]]## and a non-zero value to ##[[KeyPgTrue|True]]##.
If the argument is a string expression, it is converted to boolean using a case insensitive to the string "false" to return a ##[[KeyPgFalse|False]]## value or "true" to return a ##[[KeyPgTrue|True]]## value.
- Not available in the //[[CompilerOptlang|-lang qb]]// dialect unless referenced with the alias ##**""__Cbool""**##.
- ##[[KeyPgCbyte|Cbyte]]##
- ##[[KeyPgCubyte|Cubyte]]##
- ##[[KeyPgCshort|Cshort]]##
- ##[[KeyPgCushort|Cushort]]##
- ##[[KeyPgCint|Cint]]##
- ##[[KeyPgCuint|Cuint]]##
- ##[[KeyPgClng|Clng]]##
- ##[[KeyPgCulng|Culng]]##
- ##[[KeyPgClngint|Clngint]]##
- ##[[KeyPgCulngint|Culngint]]##
- ##[[KeyPgCsng|Csng]]##
- ##[[KeyPgCdbl|Cdbl]]##
- ##[[KeyPgStr|Str]]##
Deletions:
Converts numeric or string expression to a boolean (##[[KeyPgBoolean Boolean]]##)
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Cbool** ( [[KeyPgByval byval]] //expression// [[KeyPgAs as]] [[DataType datatype]] ) [[KeyPgAs as]] [[KeyPgBoolean boolean]]
[[KeyPgType Type]] //typename//
[[KeyPgDeclare declare]] [[KeyPgOperator operator]] [[KeyPgCast cast]] ( ) [[KeyPgAs as]] [[KeyPgBoolean boolean]]
a numeric, string, or user defined type to cast to a ##[[KeyPgBoolean Boolean]]## value
A ##[[KeyPgBoolean Boolean]]## value.
The ##**Cbool**## function converts a zero value to ##[[KeyPgFalse False]]## and a non-zero value to ##[[KeyPgTrue True]]##.
If the argument is a string expression, it is converted to boolean using a case insensitive to the string "false" to return a ##[[KeyPgFalse False]]## value or "true" to return a ##[[KeyPgTrue True]]## value.
- Not available in the //[[CompilerOptlang -lang qb]]// dialect unless referenced with the alias ##**""__Cbool""**##.
- ##[[KeyPgCbyte Cbyte]]##
- ##[[KeyPgCubyte Cubyte]]##
- ##[[KeyPgCshort Cshort]]##
- ##[[KeyPgCushort Cushort]]##
- ##[[KeyPgCint Cint]]##
- ##[[KeyPgCuint Cuint]]##
- ##[[KeyPgClng Clng]]##
- ##[[KeyPgCulng Culng]]##
- ##[[KeyPgClngint Clngint]]##
- ##[[KeyPgCulngint Culngint]]##
- ##[[KeyPgCsng Csng]]##
- ##[[KeyPgCdbl Cdbl]]##
- ##[[KeyPgStr Str]]##


Revision [17825]

Edited on 2015-10-03 06:23:01 by FxMwikki [Added link to Str]
Additions:
- ##[[KeyPgStr Str]]##


Revision [17722]

The oldest known version of this page was created on 2015-07-21 19:49:05 by JeffMarshall [Added link to Str]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode