PERMANENT: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=[[Image:permanent.png|right|PERMANENT]]PERMANENT <nowiki><var name>, <var name>, <var name> (max 50 variables)</nowiki>
{{Command|syntax=[[Image:permanent.png|right|PERMANENT]]PERMANENT <nowiki><var name>, <var name>, <var name> (max 50 variables)</nowiki>
|description=:To use a set of variables after the [[CALL|called macro]] has finished.
|description=:Once a macro has completed execution, all of the variables used by that macro are normally removed from memory. However, any variables defined using the PERMANENT command will remain active and their values can be obtained by any macro that is subsequently used in the same session of GibbsCAM.


|param1=<nowiki><var name></nowiki>|param1_desc={{var name}}
|param1=<nowiki><var name></nowiki>|param1_desc={{var name}}

Revision as of 16:52, 29 July 2010

Command

PERMANENT
PERMANENT
PERMANENT <var name>, <var name>, <var name> (max 50 variables)


Once a macro has completed execution, all of the variables used by that macro are normally removed from memory. However, any variables defined using the PERMANENT command will remain active and their values can be obtained by any macro that is subsequently used in the same session of GibbsCAM.

Parameters

<var name>
Set the value of a number variable
<var name>
Set the value of a number variable
<var name>
Set the value of a number variable

Example

PERMANENT y, aa, qx