Difference between revisions of "Assign"
From ArcoWiki
Line 1: | Line 1: | ||
− | |||
To '''Assign''' a value to a [[variable]], in [[DMIS]] is not enough to use the character “=”, it is necessary to use the <code>ASSIGN/</code> command followed by the [[variable]] value.<br/> | To '''Assign''' a value to a [[variable]], in [[DMIS]] is not enough to use the character “=”, it is necessary to use the <code>ASSIGN/</code> command followed by the [[variable]] value.<br/> | ||
The [[variable]] must be defined first. | The [[variable]] must be defined first. | ||
Line 9: | Line 8: | ||
::<code>TCNSLT=ASSIGN/6<br/></code> | ::<code>TCNSLT=ASSIGN/6<br/></code> | ||
− | [[Category: | + | [[Category:Dmis_Tutorial]] |
Revision as of 15:12, 4 August 2016
To Assign a value to a variable, in DMIS is not enough to use the character “=”, it is necessary to use the ASSIGN/
command followed by the variable value.
The variable must be defined first.
$$ Assign text value to a string
TCDIRS=ASSIGN/'C:\Program Files\MyFolder\Data\'
$$ Assign numerical value to an integer
TCNSLT=ASSIGN/6