Algosim documentation: struct

struct

Creates a structure from a sequence of members.

Syntax

Description

If m1, m2, ... are structures of type StructMember, then struct([m1[, m2[, ...]]]) returns the structure having m1, m2, ... as its members.

The members can be conveniently created using the : operator.

Examples

struct("FirstName": "Albus", "LastName": "Dumbledore", "Age": 105)
FirstName: Albus
LastName: Dumbledore
Age: 105

See also