Verwendung von Variablen im Objektnamen

Aus ArcoWiki
Version vom 29. Juni 2018, 09:36 Uhr von Slia (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „In order to use '''Variables in Feature Name''', probes and reference systems, the character “@” as to be used in the declaration before the variable…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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