It's working as designed.  This is explained in JfC chapter 39,
"Parsing and Execution II", section "Undefined Words"

Henry Rich 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Igor Zhuravlov
> Sent: Sunday, January 13, 2008 8:18 PM
> To: [email protected]
> Subject: [Jprogramming] strange order-dependent behavior
> 
> If to run in fresh session:
> 
>    f=: ([EMAIL PROTECTED]) g/ ([EMAIL PROTECTED])
>    g=: (! * ! @ [)"0
>    3 f 5                   NB. not works
> |length error: g
> |   3     f 5
>    f=: ([EMAIL PROTECTED]) g/ ([EMAIL PROTECTED])    NB. repeat the same 
> definition
>    3 f 5                   NB. now it works
> 1 1 1 1  1
> 0 1 2 3  4
> 0 0 2 6 12
>    
> Is it a feature?
> 
> My config:
>    9!:14 ''
> j602/beta/2007-09-19/23:00
>    9!:12 ''
> 5
>    1!:1 <'system/extras/config/version.txt'
> 6.02.009
>       
> ---
> WBR,
> Igor
> ----------------------------------------------------------------------
> 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