Difference between revisions of "Use of Variables in Feature Name"

From ArcoWiki
Jump to: navigation, search
m (2 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
In order to use '''Variables in Feature Name''', probes and reference systems, the character “@” as to be used in the declaration before the [[variable]] name.<br/>
+
In order to use '''[[Variables]] in Feature Name''', probes and reference systems, the character “@” as to be used in the declaration before the [[variable]] name.<br/>
  
 
<code><span style="color: green; text-decoration: none;">$$ Creating a Variable as Feature NAme</span><br/></code>
 
<code><span style="color: green; text-decoration: none;">$$ Creating a Variable as Feature NAme</span><br/></code>
Line 12: Line 12:
 
::<code>PTMEAS/CART, off_x-8.25, off_y, 0, 0, 0, 1</code>
 
::<code>PTMEAS/CART, off_x-8.25, off_y, 0, 0, 0, 1</code>
 
::<code>ENDMES</code>
 
::<code>ENDMES</code>
 +
[[it:Uso di variabili nel nome della caratteristica]]
 +
[[zh-cn:在功能名称中使用变量]]
 +
[[pt:Uso de variáveis no nome do recurso]]
 +
[[de:Verwendung von Variablen im Objektnamen]]
 +
[[es:Uso de variables en el nombre de la función]]
 +
[[en:Use of Variables in Feature Name]]
  
 
[[Category:Dmis_Tutorial]]
 
[[Category:Dmis_Tutorial]]

Latest revision as of 09:35, 29 June 2018

In order to use Variables in Feature Name, probes and reference systems, the character “@” as to be used in the declaration before the variable name.

$$ Creating a Variable as Feature NAme

DECL/CHAR,100,name_po
name_po=ASSIGN/CONCAT('My_point','1')

$$ The declaration requires the @ character in the name field

F(@name_po) = FEAT/POINT, CART, off_x-8.25, off_y, 0, 0, 0, 1

$$ Every time the variable is used it is necessary remember the @ character

MEAS/POINT, F(@name_po), 1
PTMEAS/CART, off_x-8.25, off_y, 0, 0, 0, 1
ENDMES