Question About ⎕USING and )SAVE
4 posts
• Page 1 of 1
Question About ⎕USING and )SAVE
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
⎕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
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: Question About ⎕USING and )SAVE
Hello Pierre,
This looks like a bug, so I have logged it as 006335.
Regards,
Vince
This looks like a bug, so I have logged it as 006335.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: Question About ⎕USING and )SAVE
I found that I can save the WS by doing:
0 ⎕SAVE ⎕WSID
without affecting .Net, but:
⎕SAVE ⎕WSID
will.
Pierre Gilbert
0 ⎕SAVE ⎕WSID
without affecting .Net, but:
⎕SAVE ⎕WSID
will.
Pierre Gilbert
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: Question About ⎕USING and )SAVE
This bug 006335 has been fixed.
The fix will be available in the DSS patch on 7 Sept 2010 or soon after.
Regards,
Vince
The fix will be available in the DSS patch on 7 Sept 2010 or soon after.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group