Claudio,
Unfortunately, I think the only way to do this is:
list memory to memvars.txt noconsole
and parse the contents of the resulting file.
>Hi, all!
>
>How can I get programmatically all the memory variables currently in scope?
>
>TIA
Steve Gibson