Where is this variable coming from

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

Where is this variable coming from

Postby jmosk on Wed Oct 18, 2017 4:48 pm

I have a certain workspace that I can load, where it shows there are no variables defined, yet when I put in the name of a particular variable, it is showing a value. I know the variable name I am using is not defined as a function [it does not appear on )fns]. And )vars displays nothing. Yet a value appears. Any idea why this does not appear under )vars? Why is the variable name 'layers' not appearing under )vars? And I cannot delete the variable name since the interpreter says it does not exist. So where might it appear to exist since it does generate a value. Of course this problem goes away if I clear the workspace.

)vars
]display layers
┌→┐
│3│
└~┘
⍴layers
1
)vars
)erase layers
not found layers
layers
3
jmosk
 
Posts: 33
Joined: Thu Jul 18, 2013 5:15 am

Re: Where is this variable coming from

Postby Vince|Dyalog on Thu Oct 19, 2017 8:56 am

Hi jmosk,

What does this return?
⎕nc ⊂'layers'

Can you send this workspace to us at Dyalog Support?

Regards,

Vince
Vince|Dyalog
 
Posts: 275
Joined: Wed Oct 01, 2008 9:39 am


Return to APL Chat

Who is online

Users browsing this forum: No registered users and 2 guests