4.5.2.4 Variable assignment

Variable assignment using kash is takes place in SAGE.

sage: a = kash('32233')
sage: a
32233

In particular, a is not defined as part of the KASH session itself.

sage: kash.eval('a')
"Error, the variable 'a' must have a value"

Use a.name() to get the name of the KASH variable:

sage: a.name()          # somewhat random
'sage0'
sage: kash(a.name())
32233

See About this document... for information on suggesting changes.