The interpretations are "correct".


----- Original Message -----
From: bill lam <[email protected]>
Date: Tuesday, January 27, 2009 8:06
Subject: Re: [Jprogramming] regex for j numeric constants
To: [email protected]

> On Tue, 27 Jan 2009, Roger Hui wrote:
> > In J, a numeric constant begins with _ or 0-9, 
> > continues with _  or 0-9 or . or a-z or A-Z, and ends
> > with a character which is not one of the preceding
> > or at the end of the string.  This is modeled in the ;: 
> > dictionary page. 
> > http://www.jsoftware.com/help/dictionary/d332.htm
> > The model also handles numeric vector constants.
> > 
> > The word formation rules specify as "number" 
> > strings that are currently not interpreted as numbers.  
> > For example 2i3j4k5 (future quaternion?)
> 
> instead of evaluating to an extended integer or error, it interprets
> it as valid number.
>   1bx
> 33
>   1b1x
> 34
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to