sct :=,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.

Returns:sct - The structure of type name s, initialized by the contents of map m.
Arguments:s - The name of the structure definition to create. m - The map used to initialize the members of the structure.