Revision history for KeyPgOptiondynamic


Revision [22646]

Last edited on 2019-03-29 10:52:27 by fxm [Suppressed the type declaration that is redundant when resizing a dynamic array (in examples)]
Additions:
ReDim bar(199) ' resize the array
Deletions:
ReDim bar(199) As Integer ' resize the array


Revision [20420]

Edited on 2016-02-10 16:05:48 by DkLwikki [Update link format]
Additions:
##**Option Dynamic**## is a statement that specifies that any following array declarations are variable-length, whether they are declared with constant subscript ranges or not. This remains in effect for the rest of the module in which ##**Option Dynamic**## is used, and can be overridden with ##[[KeyPgOptionstatic|Option Static]]##. It is equivalent to the ##[[KeyPgMetaDynamic|'$Dynamic]]## metacommand.
- Only available in the //[[CompilerOptlang|-lang fblite]]// and //[[CompilerOptlang|-lang qb]]// dialects.
- ##[[KeyPgDdfboptiondynamic|__FB_OPTION_DYNAMIC__]]##
- ##[[KeyPgMetaDynamic|'$Dynamic]]##
- ##[[KeyPgMetaDynamic|'$Static]]##
- ##[[KeyPgOptionstatic|Option Static]]##
- ##[[KeyPgDim|Dim]]##
- ##[[KeyPgRedim|Redim]]##
Deletions:
##**Option Dynamic**## is a statement that specifies that any following array declarations are variable-length, whether they are declared with constant subscript ranges or not. This remains in effect for the rest of the module in which ##**Option Dynamic**## is used, and can be overridden with ##[[KeyPgOptionstatic Option Static]]##. It is equivalent to the ##[[KeyPgMetaDynamic '$Dynamic]]## metacommand.
- Only available in the //[[CompilerOptlang -lang fblite]]// and //[[CompilerOptlang -lang qb]]// dialects.
- ##[[KeyPgDdfboptiondynamic __FB_OPTION_DYNAMIC__]]##
- ##[[KeyPgMetaDynamic '$Dynamic]]##
- ##[[KeyPgMetaDynamic '$Static]]##
- ##[[KeyPgOptionstatic Option Static]]##
- ##[[KeyPgDim Dim]]##
- ##[[KeyPgRedim Redim]]##


Revision [15521]

Edited on 2011-11-25 03:19:08 by PaulRobinson [Update link format]
Additions:
##**Option Dynamic**## is a statement that specifies that any following array declarations are variable-length, whether they are declared with constant subscript ranges or not. This remains in effect for the rest of the module in which ##**Option Dynamic**## is used, and can be overridden with ##[[KeyPgOptionstatic Option Static]]##. It is equivalent to the ##[[KeyPgMetaDynamic '$Dynamic]]## metacommand.
Deletions:
##**Option Dynamic**## is a statement that specifies that any following array declarations are variable-length, whether they are declared with constant subscript ranges or not. This remains in effect for the rest of the module in which ##**Option Dynamic**## is used, and can be overridden with ##[[KeyPgOptionstatic Option Static]]##. It is equivalent to ##[[KeyPgMetaDynamic '$Dynamic]]##.


Revision [15518]

Edited on 2011-11-25 03:11:22 by PaulRobinson [Update link format]
Additions:
##**Option Dynamic**## is a statement that specifies that any following array declarations are variable-length, whether they are declared with constant subscript ranges or not. This remains in effect for the rest of the module in which ##**Option Dynamic**## is used, and can be overridden with ##[[KeyPgOptionstatic Option Static]]##. It is equivalent to ##[[KeyPgMetaDynamic '$Dynamic]]##.
- ##[[KeyPgMetaDynamic '$Dynamic]]##
- ##[[KeyPgMetaDynamic '$Static]]##
Deletions:
##**Option Dynamic**## is a statement that specifies that any following array declarations are variable-length, whether they are declared with constant subscript ranges or not. This remains in effect for the rest of the module in which ##**Option Dynamic**## is used, and can be overridden with ##[[KeyPgOptionstatic Option Static]]##.
- [[KeyPgMetaDynamic $Dynamic]]


Revision [14409]

Edited on 2009-08-29 21:56:03 by CountingPine [Remove CamelCase links in "New to FreeBASIC"]
Additions:
- New to ""FreeBASIC""
Deletions:
- New to FreeBASIC


Revision [13587]

Edited on 2008-07-21 15:44:51 by JeffMarshall [added #lang or $lang to example]
Additions:
#lang "fblite"
Dim foo(99) As Integer ' declares a fixed-length array
Option Dynamic
Dim bar(99) As Integer ' declares a variable-length array
ReDim bar(199) As Integer ' resize the array
Deletions:
dim foo(99) as integer ' declares a fixed-length array
option dynamic
dim bar(99) as integer ' declares a variable-length array
redim bar(199) as integer ' resize the array


Revision [13345]

The oldest known version of this page was created on 2008-05-08 07:43:41 by JeffMarshall [added #lang or $lang to example]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode