Question About ⎕USING and )SAVE

Using (or providing) Microsoft.NET Classes

Question About ⎕USING and )SAVE

Postby PGilbert on Fri Aug 27, 2010 12:14 am

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
User avatar
PGilbert
 
Posts: 436
Joined: Sun Dec 13, 2009 8:46 pm
Location: Montréal, Québec, Canada

Re: Question About ⎕USING and )SAVE

Postby Vince|Dyalog on Fri Aug 27, 2010 3:12 pm

Hello Pierre,

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

Regards,

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

Re: Question About ⎕USING and )SAVE

Postby PGilbert on Wed Sep 01, 2010 12:07 am

I found that I can save the WS by doing:

      0 ⎕SAVE ⎕WSID

without affecting .Net, but:

      ⎕SAVE ⎕WSID

will.

Pierre Gilbert
User avatar
PGilbert
 
Posts: 436
Joined: Sun Dec 13, 2009 8:46 pm
Location: Montréal, Québec, Canada

Re: Question About ⎕USING and )SAVE

Postby Vince|Dyalog on Mon Sep 06, 2010 12:19 pm

This bug 006335 has been fixed.

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

Regards,

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


Return to Microsoft.NET

Who is online

Users browsing this forum: No registered users and 1 guest