Hi Jake,

The 0 is used to indicate that the lines following - up until a single right 
parenthesis ')' - will be the definition of an explicit verb. There is an 
option of replacing the 0 with a string if the verb can be defined on one line.

Chapter 12 in Roger Stokes gives a good explanation of this. 
http://www.jsoftware.com/docs/help701/learning/12.htm 

Cheers, bob

On 2012-05-20, at 4:09 PM, jake wilson wrote:

> when defining a verb, the J Primer says to write this:
> 
> centigrade =. 3 : 0
>> 
>> what is the 3 for there? I assumed it was because following that
> statement, the primer says to define three variables, t1, t2, and t3, but
> then on the next page it uses the same definition, but only defines one
> variable. Also, what is the zero for?
> 
> Thanks,
> -Jake
> ----------------------------------------------------------------------
> 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