MakeMember
Creates a StructMember
structure given a name and a value.
Syntax
-
MakeMember(s, x)
-
s
is a string -
x
is any object
-
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
.