Is there a corresponding mechanism for determining stems that have been
defined?
Example: Fred. = 'Something'
If this is not possible, could it be added to SysDumpVariables (perhaps
as an option) in some future release?
To see where I would use this, go to http://www.swiftys.org.uk/rexxtry
This lists all the variables that you create, but my code cannot
determine any stems that you may have created. If you create a variable
with a tail, that is displayed, but not the stem itself (its "default"
value, when it has been set)
--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
a.=1233; v= .context~variables;say v;do idx over v;say idx"="v[idx] "/" v[idx]~class;end;
HTH,
---rony
riding a train through the mountains, hence intermittent access to the Internet, here a more helpful
example for you (all one line to be entered into your website):
a.=1233; a.1="one";a.2=2;v= .context~variables;say v;do idx over v;o=v[idx];say idx"="o "/"
o~class; if o~isA(.stem) then ;do;say o 'is a STEM !!'; do sidx over o;say "==>"sidx
"-->"o[sidx];end;end;end;
BTW, very cool to have a rexxtry on the net!
Regards,
---rony
Les (Change Arabic to Roman to email me)
No, destroyed. Someone asked me what would happen if someone tried the
(perfectly valid) REXX statement:
'rm -rf ~/*'
I haven't slept since then, not ever after deleting the thing.
I'm toying with the REXX Security Manager to see if I can resurrect my
page, but it's not high on my list of priorities.
Oh, I take very regular backups, but now they are more of a worry than a
comfort� one slip and that dreadful rexxtry.cgi may come back!