Cannot access user commands...
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 !
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 !
5 posts
• Page 1 of 1
Cannot access user commands...
Using 12.1 Educational, when I enter simple user command:
]?
SALT needs to be enabled
⎕THIS ⎕SE.UCMD'?'
Is there documentation describing how to enable SALT?
]?
SALT needs to be enabled
⎕THIS ⎕SE.UCMD'?'
Is there documentation describing how to enable SALT?
- ArrayMac227
- Posts: 62
- Joined: Sat Sep 12, 2015 1:40 pm
Re: Cannot access user commands...
This is strange, SALT is enabled by default.
Check the config menu, there should be a SALT tab where you enable it.
There should also be a PDF in the Dyalog folder or the help folder beneath it about SALT and UCMDs.
Check the config menu, there should be a SALT tab where you enable it.
There should also be a PDF in the Dyalog folder or the help folder beneath it about SALT and UCMDs.
- DanB|Dyalog
Re: Cannot access user commands...
Going into the SALT.PDF file, I found:
> If SALT is not enabled you can enable it using the SALT workspace. Simply type
> )LOAD SALT
> enableSALT
I'll try this, expecting to need a full pathname for the )LOAD. Thanks for the pointers.
> If SALT is not enabled you can enable it using the SALT workspace. Simply type
> )LOAD SALT
> enableSALT
I'll try this, expecting to need a full pathname for the )LOAD. Thanks for the pointers.
- ArrayMac227
- Posts: 62
- Joined: Sat Sep 12, 2015 1:40 pm
Re: Cannot access user commands...
Hello ArrayMac227, another way to find if SALT is enabled is to do in the menu: Options -> Configure. In the configuration window should be able to see if SALT is enabled under the SALT tab.
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: Cannot access user commands...
Found Dan's 'config menu' to be the Options -> Configure one. Did some spelunking in the enableSALT function, got an obsolete result from:
> 2 ⎕NQ'.' 'GetEnvironment' 'Dyalog'
rewrote the calling function to return a proper drive, C not R, R being the network reference on an XP box which died last spring.
I rewrote since I am leery of changing this value with something like,
> 2 ⎕NQ'.' 'SetEnvironment' 'Dyalog' 'newpath'
since this is not obviously documented and, like any Registry function, could be disastrous.
> 2 ⎕NQ'.' 'GetEnvironment' 'Dyalog'
rewrote the calling function to return a proper drive, C not R, R being the network reference on an XP box which died last spring.
I rewrote since I am leery of changing this value with something like,
> 2 ⎕NQ'.' 'SetEnvironment' 'Dyalog' 'newpath'
since this is not obviously documented and, like any Registry function, could be disastrous.
- ArrayMac227
- Posts: 62
- Joined: Sat Sep 12, 2015 1:40 pm
5 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