Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » top level loop » OutputDictionary
next | previous | forward | backward | up | index | toc

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{}, Varieties.Dictionary, Isomorphism.Dictionary,
     ------------------------------------------------------------------------
     Truncations.Dictionary, Polyhedra.Dictionary, Saturation.Dictionary,
     ------------------------------------------------------------------------
     Elimination.Dictionary, OldChainComplexes.Dictionary,
     ------------------------------------------------------------------------
     TangentCone.Dictionary, SimpleDoc.Dictionary, ReesAlgebra.Dictionary,
     ------------------------------------------------------------------------
     PrimaryDecomposition.Dictionary, MinimalPrimes.Dictionary,
     ------------------------------------------------------------------------
     PackageCitations.Dictionary, OnlineLookup.Dictionary,
     ------------------------------------------------------------------------
     LLLBases.Dictionary, InverseSystems.Dictionary,
     ------------------------------------------------------------------------
     IntegralClosure.Dictionary, ConwayPolynomials.Dictionary,
     ------------------------------------------------------------------------
     Classic.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.


The source of this document is in Macaulay2Doc/ov_repl.m2:981:0.