Global
Previous  Next

Description: Sets the dimensions of a variable to the Global scope.

     Syntax:
     
Global <Variable> As <DataType> [* <Size> | At <Location>], ...

Part
Description
<Variable>
Required.
<DataType>
Required. This sets the Data Type of the variable
[Size]
Optional. This is only for String Data Types. The asterisk (*) is required.
[At <Location>]
Optional. Sets the default value of the variable. <Location> is the line label where the data statements are located.

Example:

        Global a As Integer, b$ As String, c& As Long