next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: global

global -- get a global symbol

Description

global s provides the global symbol s, even if s currently has a value.
i1 : num

o1 = num

o1 : Symbol
i2 : num = 5

o2 = 5
i3 : num

o3 = 5
i4 : global num

o4 = num

o4 : Symbol

See also

For the programmer

The object global is a keyword.