Page 1 of 1

Question About ⎕USING and )SAVE

Posted: Fri Aug 27, 2010 12:14 am
by PGilbert
If I assign a value to ⎕USING as a global variable:

      ⎕USING←,⊂'System'

it is working as expected:

      Environment.GetFolderPath Environment.SpecialFolder.ProgramFiles
C:\Program Files (x86)

but if I do a )SAVE than I get the following error if I try to redo the previous line:

System.NullReferenceException: Object reference not set to an instance of an object.

Looks like )SAVE is destroying the instances of classes and I have to redo all my classes after a )SAVE. Is it me or I am doing something wrong ?

Thanks,

Pierre Gilbert

Using: 12.1 Unicode

Re: Question About ⎕USING and )SAVE

Posted: Fri Aug 27, 2010 3:12 pm
by Vince|Dyalog
Hello Pierre,

This looks like a bug, so I have logged it as 006335.

Regards,

Vince

Re: Question About ⎕USING and )SAVE

Posted: Wed Sep 01, 2010 12:07 am
by PGilbert
I found that I can save the WS by doing:

      0 ⎕SAVE ⎕WSID

without affecting .Net, but:

      ⎕SAVE ⎕WSID

will.

Pierre Gilbert

Re: Question About ⎕USING and )SAVE

Posted: Mon Sep 06, 2010 12:19 pm
by Vince|Dyalog
This bug 006335 has been fixed.

The fix will be available in the DSS patch on 7 Sept 2010 or soon after.

Regards,

Vince