<< Prev        Next >>

ID : 704

Declaration Statement

Declaration statement refers to a statement to declare variable(s) and procedure(s).

A declaration statement can be described directly to a program and the described program (task) becomes the valid range.

"Dim" and "DefIO" of the local variable declaration can be described also in a procedure and in such case the valid range is the described procedure only.

Command name Function
Dim Declare a local variable.
DefIO Declare I/O type local variable.
Static Declare a local variable with Static attribute.
Public Declare a local variable with Public attribute.
Sub...End Sub Declare Sub procedure.
Function...End Function Declare Function procedure.

ID : 704

<< Prev        Next >>