IIRC, it should be, (you may use any filename/extendsion)

(<'file.ijl') (1!:2)~ (3!:6) (1!:1) <'file.ijs'

on loading a script, J interpreter will detect if a script is locked and
decode it automatically while definitions of verbs from that script will be 
hidden.

Птн, 30 Дек 2011, Blake McBride писал(а):
> 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

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to