[Jprogramming] Is variable defined

Henry Rich henryhrich at gmail.com
Fri Mar 11 00:26:33 UTC 2016


ifdefined =: 0 <: [: 4!:0 <

     ifdefined 'xxx'

0

ifdefined 'ifdefined'

1


Henry Rich



On 3/10/2016 7:19 PM, Ryan Eckbo wrote:
> I seem to remember that there's a way to check whether a variable has 
> been defined or not,
> but I can't find the method.  Does anyone know?
>
> Thanks,
> Ryan
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



More information about the Programming mailing list