i1 : ff := 5 |
i2 : ff |
Assume the code above is entered directly by the user into Macaulay 2. Then the variable is still a local one and is not available to code previously loaded or to functions previously defined, but it will be available to code loaded subsequently. We illustrate this below with the variable jj.
i3 : hh = () -> jj |
i4 : hh() |
i5 : jj = 444 |
i6 : hh() |
i7 : jj := 555 |
i8 : hh() |
i9 : jj |