The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
location of variable, Home or CAS?
02-27-2020, 06:54 PM (This post was last modified: 02-27-2020 06:57 PM by cdmackay.)
Post: #1
location of variable, Home or CAS?
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!

Cambridge, UK
41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot/C47
Casio, Rockwell 18R
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
location of variable, Home or CAS? - cdmackay - 02-27-2020 06:54 PM



User(s) browsing this thread: 1 Guest(s)