An undefined name is assumed to be a verb and
the execute of a verb is an empty vector.
----- Original Message -----
From: Anssi Seppälä <[EMAIL PROTECTED]>
Date: Monday, May 21, 2007 11:42 pm
Subject: [Jprogramming] ". with undefined name
> Searching a long time a program error i met this special case:
> Execute (".) converts strings of defined names to nouns, but
> string
> of undefined name results empty vector:
> Defined=: 1 2 2 3
> ".'Defined'
> 1 2 2 3
> Defined
> 1 2 2 3
> NotDefined
> |value error: NotDefined
>
> but why
> ".'NotDefined'
> results to a empty list of numbers
>
> 10{.".'NotDefined'
> 0 0 0 0 0 0 0 0 0 0
>
> why not value error?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm