next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: OutputDictionary

OutputDictionary -- the dictionary for output values

Description

The symbols o1, o2, o3, etc., are used to store the output values arising from interaction with the user, one line at a time. The dictionary OutputDictionary is the dictionary in which those symbols reside.
i1 : 2+2

o1 = 4
i2 : "asdf" | "qwer"

o2 = asdfqwer
i3 : value \ values OutputDictionary

o3 = {4, asdfqwer}

o3 : List
i4 : dictionaryPath

o4 = {GlobalDictionary{}, Isomorphism.Dictionary, OnlineLookup.Dictionary,
     ------------------------------------------------------------------------
     SimpleDoc.Dictionary, InverseSystems.Dictionary,
     ------------------------------------------------------------------------
     ConwayPolynomials.Dictionary, ReesAlgebra.Dictionary,
     ------------------------------------------------------------------------
     TangentCone.Dictionary, Classic.Dictionary, Saturation.Dictionary,
     ------------------------------------------------------------------------
     Elimination.Dictionary, MinimalPrimes.Dictionary,
     ------------------------------------------------------------------------
     PrimaryDecomposition.Dictionary, IntegralClosure.Dictionary,
     ------------------------------------------------------------------------
     LLLBases.Dictionary, Macaulay2Doc.Dictionary, Core.Dictionary,
     ------------------------------------------------------------------------
     GlobalDictionary{...4...}, PackageDictionary}

o4 : List
i5 : peek OutputDictionary

o5 = GlobalDictionary{"o1" => o1}
                      "o2" => o2
                      "o3" => o3
                      "o4" => o4

See also

For the programmer

The object OutputDictionary is an instance of the type GlobalDictionary.