The DECLARE Statement
- Last UpdatedJan 20, 2023
- 1 minute read
DECLARE,<variable>,<type>;
<variable> is the name of the variable whose type is to be declared. The maximum length of <variable> is 32 characters.
<type> is the type of <variable>. It has the type STRING and the whole type name must be given. The following types are available:
INTEGER
DECIMAL
STRING
POINT_2D
LINE_2D
ARC_2D
CONTOUR_2D
CIRCLE_2D
VECTOR_2D
SPLINE_2D
TEXTFILE_2D
TEXT_2D
SYMBOL_2D
NOTE_2D
HATCH_2D
EXTRACT
RANGE
TABLE
POINT_3D
VECTOR_3D
CONNECTIONPOINT_3D
CONE_3D
CYLINDER_3D
GENERALCYLINDER_3D
PARALLELEPIPED_3D
POLYGON_3D
SPHERESEG_3D
TOROID_3D
ROTATIONAL_3D
The default type is DECIMAL.