Is the “*** event handler error” from jhs just telling meI mistyped ctrl-. as 
ctrl-, (period v. comma)?

=====
── (43 of 72) indirect locale name (ctd) ────────────────────
Assume two libraries of statistical routines. One set of
definitions is defined in locale s1 and the other in s2.

There is an r verb in both that returns random numbers. The
s1 definition of r is ?, and the s2 definition skews by
having a minimum of 2.
)
   r_s1_ =: ?
   r_s2_ =: 2 & >. @ ?    NB. skewed random
   test=: dyad def 'r__s y [ s=. <x'
   s2
|value error: s2
   r
|value error: r
   s1
|value error: s1
   test
4 : 'r__s y [ s=. <x'
   test i.5
|domain error: test
|       test i.5

*** event handler error
ev_comma_ctrl 0
|assertion failure: spf
|       fexist SPFILE['project must exist'
jdo   jev_jijx_ 0 
jtype ctrl        
jmid  comma       
jsid              
jdata             
jwid              

── (44 of 72) indirect locale name (ctd) ────────────────────
The test x indicates which library version of r to use.
)
   d=: 20#5
   's1' test d
4 2 4 3 1 4 0 2 0 1 1 3 1 4 1 0 1 4 2 4
   's2' test d
2 2 4 2 4 2 4 2 2 2 4 3 2 2 4 2 3 4 2 2

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

Reply via email to