[Jprogramming] Locked scripts

Don Guinn donguinn at gmail.com
Sat Dec 31 09:25:56 HKT 2011


Load it like any other script. "load 'newFile.ijl'" will load it. It will
work like the not locked version except you cannot view any names defined
in it and it will not let execution be suspended in any verb or whatever
within the definition.

On Fri, Dec 30, 2011 at 5:52 PM, Blake McBride <blake at mcbride.name> wrote:

> Greetings,
>
> I see that you can lock scripts with 3!:6.  I am trying to figure out
> how to use it:
>
> x =: (3!:6) 'file.ijs'
> x (1!:2) <'newFile'
>
>
> This seams to read in file.ijs, encrypt its contents, and write it out
> to a file named newFile.  I can't figure out how to load the locked
> script.
>
> Thanks for the help.
>
> Blake McBride
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


More information about the Programming mailing list