Pascal Jasmin wrote:
> I would like a verb f such that f returns a literal that is exactly
> the number that was typed.
 
Then you want to be working with literals, not numbers.
 
Here's a verb that gets what was typed, exactly:
   litin=: 1!:1 bind 1
   #litin''
3.120
5
 
Numbers are not literals -- For example, while 01 and 1 would
be different literals they are the same number.
 
-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to