Algosim documentation: metadata

metadata

Returns the VariableMetadata structure of a variable.

Syntax

Description

If X is a variable (or s is a string containing the name of a variable), then metadata(X) (or metadata(s)) returns the VariableMetadata structure of the variable.

VariableMetadata is the name of the structure type.

This structure contains the variable’s name, description, time of creation, and protection status. Unlike the variable’s Variable structure (obtained by the variable function), it does not contain the variable’s value.

Examples

metadata(π)
name: π
description: The ratio of a circle's circumference to its diameter.
created.date.year: 2020
created.date.month: september
created.date.day: 2
created.time.hour: 23
created.time.minute: 18
created.time.second: 39
created.time.millisecond: 794
protected: true

See also