Revision history for KeyPgDeflng


Revision [20191]

Last edited on 2016-02-10 15:58:51 by DkLwikki [Update link format]
Additions:
##**Deflng**## specifies that variables and arrays which aren't declared with a data type - or not declared at all - are implicitly declared of type ##[[KeyPgLong|Long]]## if the first letter of their names matches a certain letter or lies within an inclusive range of letters.
This will make ##lNumber## a ##[[KeyPgLong|Long]]## integer number since it starts with l.
- Only available in the //[[CompilerOptlang|-lang qb]]// and //[[CompilerOptlang|-lang fblite]]// dialects.
- ##[[KeyPgDefint|Defint]]##
- ##[[KeyPgDefulongint|Defulongint]]##
- ##[[KeyPgDim|Dim]]##
- ##[[KeyPgLongint|Longint]]##
Deletions:
##**Deflng**## specifies that variables and arrays which aren't declared with a data type - or not declared at all - are implicitly declared of type ##[[KeyPgLong Long]]## if the first letter of their names matches a certain letter or lies within an inclusive range of letters.
This will make ##lNumber## a ##[[KeyPgLong Long]]## integer number since it starts with l.
- Only available in the //[[CompilerOptlang -lang qb]]// and //[[CompilerOptlang -lang fblite]]// dialects.
- ##[[KeyPgDefint Defint]]##
- ##[[KeyPgDefulongint Defulongint]]##
- ##[[KeyPgDim Dim]]##
- ##[[KeyPgLongint Longint]]##


Revision [13573]

Edited on 2008-07-21 15:44:27 by JeffMarshall [added #lang or $lang to example]
Additions:
#lang "fblite"
DefLng l
Dim lNumber ' implicit: As Long
Print Len(lNumber) ' Displays 4, the number of bytes in a long.
Deletions:
deflng l
dim lNumber ' implicit: As Long
print len(lNumber) ' Displays 4, the number of bytes in a long.


Revision [12846]

The oldest known version of this page was created on 2008-04-01 15:48:02 by JeffMarshall [added #lang or $lang to example]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode