null - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


YAML

  

null

  

Empty value from YAML data

 

Description

Examples

Compatibility

Description

• 

The YAML format contains a value null to represent missing data. The YAML:-null symbol in Maple is used to represent YAML null symbols after import into Maple.

• 

The commands YAML:-ParseString and YAML:-ParseFile may produce output which uses YAML:-null.

• 

The YAML:-ToString command recognizes YAML:-null and translates it to null in YAML.

Examples

Parse a YAML string containing null data.

YAML:-ParseString("[2,3,null,5,null,7]");

2,3,YAML:−null,5,YAML:−null,7

(1)

Generate a YAML string containing null data to signify missing information.

Beowulf := table([ "title" = "Beowulf", "language" = "Anglo-Saxon", "author" = YAML:-null ]);

Beowulftablelanguage=Anglo-Saxon,title=Beowulf,author=YAML:−null

(2)

YAML:-ToString( Beowulf );

--- author: null language: "Anglo-Saxon" title: Beowulf

(3)

Compatibility

• 

The YAML[null] command was introduced in Maple 2017.

• 

For more information on Maple 2017 changes, see Updates in Maple 2017.

See Also

NULL

YAML