You could check the stack, i.e.

  #13!:18 ''
0

3 : 0 ''
#13!:18]y
)
1



On Wed, Feb 8, 2017 at 12:13 AM, 'Pascal Jasmin' via Programming <
[email protected]> wrote:

> in 4 line script,
>
> 2+2
> a =: 3 : 0
> nested definition line
>
> )
>
> the first 2 lines are "top level", but the last 2 are nested.
>
> is there any undocumented foreign that will return this status?  How does
> the console know that it is in " : 0 " mode?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm




-- 

Devon McCormick, CFA

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

Reply via email to