I reported this as a bug years ago.  No rationale I can think of, except 
perhaps “unlocking” is done by the frontend, as opposed to the engine?

-Dan



> On Oct 22, 2015, at 12:40 PM, Thomas Costigliola <[email protected]> wrote:
> 
> Attempting to run a locked script from a noun doesn't work:
> 
> 0!:1]3!:6 'sum=:+/'
> 
> �
> 
> |spelling error
> 
> | �
> 
> 
> I understand there might not have been an apparent use case for this, but
> is there a technical or security reason for the restriction?
> 
> 
> I need to read the contents of a locked script into a noun but not execute
> it until a later time at which the file will no longer be accessible. This
> seems easy to implement in the interpreter, but I was wondering if there
> was something I am overlooking that makes it difficult or undesirable.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to