I can produce the problem with you script and it indicates a bug in 3!:6. With luck the same as the one reported a while ago. Thanks for the clear report. I will look into this.

----- Original Message ----- From: "bill lam" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Friday, November 24, 2006 11:01 AM
Subject: [Jprogramming] locked script crash


I might isolated a test case for J601 locked script crash. consider the
following script, save it as profile.ijs in J's home folder. Double click j.exe,
it run smoothly (should see 2 msgbox)

NB. =========================================================
dtb_z_=: #~ ([: +./\. ' '&~:)
11!:0'mb a b'
dtb"1 (0 1$'')
NB. (#~ ([: +./\. ' '&~:))"1 (0 1$'')
11!:0'mb c d'
2!:55 [0
NB. =========================================================

locked it and save it as profile.ijs it will crash after the first msgbox
But if change lines to
NB. dtb"1 (0 1$'')
(#~ ([: +./\. ' '&~:))"1 (0 1$'')

the locked script did not crash.

--
regards,
bill
----------------------------------------------------------------------
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