structure.from.map
Syntax
- sct := structure.from.map(s,m)
Returns a structure of type s (which must already have been defined) and attempts to initialize it using the contents of the map m.
The keys of the map, converted to strings if they aren’t already of string type, are compared against the struct member names. If a match is found, then the value of the key is assigned to the structure member value.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 14, 2024 |