Difference between revisions of "Reading the Current Approach, Retract, Search Values"
From ArcoWiki
(Created page with "In order to assign to variable the current values of <code>SNSET/APPRCH</code>, <code>SNSET/RETRCT</code>, <code>SNSET/SEARCH</code> it is necessary to execute a stand...") |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | In order to [[assign]] to [[variable]] the current values of <code>SNSET/APPRCH</code>, <code>SNSET/RETRCT</code>, <code>SNSET/SEARCH</code> it is necessary to execute a standard | + | In order to [[assign]] to [[variable]] the current values of <code>SNSET/APPRCH</code>, <code>SNSET/RETRCT</code>, <code>SNSET/SEARCH</code> it is necessary to execute a standard [[DMIS]] command <code>VALUE/</code>.<br /> |
Specifically the value are returned by [[assign]] using the following syntax: | Specifically the value are returned by [[assign]] using the following syntax: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 27: | Line 27: | ||
CurrentValue=VALUE/SNSET,SEARCH<br /> | CurrentValue=VALUE/SNSET,SEARCH<br /> | ||
</code> | </code> | ||
| + | |||
| + | |||
| + | [[it:Lettura dell'approccio attuale, ritiro, ricerca valori]] | ||
| + | [[zh-cn:读取当前方法,缩回,搜索值]] | ||
| + | [[pt:Lendo a abordagem atual, retrair, pesquisar valores]] | ||
| + | [[de:Lesen der aktuellen Methode, Zurückziehen, Suchwerte]] | ||
| + | [[es:Leer el enfoque actual, retraer, buscar valores]] | ||
| + | [[en:Reading the Current Approach, Retract, Search Values]] | ||
[[Category:Dmis_Tutorial]] | [[Category:Dmis_Tutorial]] | ||
Latest revision as of 07:33, 15 June 2018
In order to assign to variable the current values of SNSET/APPRCH, SNSET/RETRCT, SNSET/SEARCH it is necessary to execute a standard DMIS command VALUE/.
Specifically the value are returned by assign using the following syntax:
| Command | Description |
|---|---|
VALUE/SNSET,APPRCH |
Assign the current Approach distance to the variable |
VALUE/SNSET,RETRCT |
Assign the current Retract distance to the variable |
VALUE/SNSET,SEARCH |
Assign the current Search distance to the variable |
a code example is as follow:
$$Declare Return Variable
DECL/DOUBLE,CurrentValue
$$Return Current Approach
CurrentValue=VALUE/SNSET,APPRCH
$$Return Current Retract
CurrentValue=VALUE/SNSET,RETRCT
$$Return Current Search
CurrentValue=VALUE/SNSET,SEARCH