02-27-2020, 06:54 PM
Is it possible, within CAS, to identify the location of a variable, whether Home or CAS?
e.g for both a:=3 (Home) and a=3 (CAS), type() gives me INT for a, and IDENT for 'a'.
I know I can find them in separate areas in the Memory Manager (shift B), but I'd like to do it from a program.
I'd like to enhance the little varslist utility — posted here by @dae — to indicate the location, to speed up deleting it.
Of course, I could use purge(), and if it fails I know it's in Home, but…
thanks!
e.g for both a:=3 (Home) and a=3 (CAS), type() gives me INT for a, and IDENT for 'a'.
I know I can find them in separate areas in the Memory Manager (shift B), but I'd like to do it from a program.
I'd like to enhance the little varslist utility — posted here by @dae — to indicate the location, to speed up deleting it.
Of course, I could use purge(), and if it fails I know it's in Home, but…
thanks!