Omron SYSMAC FH Series User Manual page 514

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Erase
Releases array variable.
Format
Erase <array>[, <array>...]
Parameter
Parameter
Data type
name
<array>
---
Return value
None.
Description
Releases the allocated memory area of the predefined array variable with the Dim function that is specified in
the <array> parameter. By releasing the temporarily used array variables with this function, the allocated
memory areas of the variables can be released so that the released memory areas can be efficiently utilized.
If an array variable is redefined without being released, its allocated memory area is released before the
redefinition.
If variables other than array variables are specified in the <array> parameter, "Syntax error" will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• None.
Example
Releases defined array.
Dim XY&(3)
Dim XY#(7, 15)
Dim CHARA$(31, 63, 127, 255)
Rem Releases array variable.
Erase XY&, XY#(), CHARA$()
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Dim (Reference:
512
Macro Reference
Released array variable
Details (p.461))
WWW.NNC.IR
Description
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents