Algosim documentation: MakeMember

MakeMember

Creates a StructMember structure given a name and a value.

Syntax

Description

If s is a valid identifier as a string and x is any object, then MakeMember(s, x) returns the StructMember structure containing s and x as values. This structure represents a structure member and is typically passed to the struct function.

The MakeMember function implements the : operator, which is typically used instead of MakeMember.

See also