FANDOM


DIM Edit

Declares a variable

Syntax: Edit

Description: Edit

Declares a variable by name and reserves memory to accommodate it. Variables must be declared before they can be used in the -lang fb dialect or when using Option Explicit in the other dialects. Only in the -lang qb and -lang fblite dialects variables may be used without first declaring them, in such a case they are called implicit variables. Dim can be used to declare and assign variables of any of the supported data types, user defined types, or enumerations. Depending on where and how a variable or array is declared can change how it is allocated in memory. See Storage Classes. More than one variable may be declared in a single Dim statement by separating each variable declaration with a comma.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.