Hi Bill,

I get the same result as you with J601.
   0 ". '100    12      121     12'
0

I did get around it by doing
   0 ". detab '100      12      121     12'
100 12 121 12
   
It can be found here:
c:\j601\system\main\convert.ijs (4)
NB. detab      remove tab stops
NB.*detab v remove tab stops
detab=: 3 : 0

But still, it doesn't answer your question why its failing without
detabbing it first. :P

r/Alex


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Harris
Sent: Thursday, March 13, 2008 12:57 PM
To: J Programming Forum
Subject: [Jprogramming] Problem with "Numbers"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I haven't used J much in a month or two, so maybe I've just forgotten
some important stuff, but I'm having trouble with ".

For example:

-
------------------------------------------------------------------------
   0  ". '80    595.135 0.0286453       9404.84 0.00127859'
0
   $0  ". '80   595.135 0.0286453       9404.84 0.00127859'

   ". '80       595.135 0.0286453       9404.84 0.00127859'
80 595.135 0.0286453 9404.84 0.00127859
   $ ". '80     595.135 0.0286453       9404.84 0.00127859'
5
   9!:14 ''
j602/2008-03-03/16:45
-
------------------------------------------------------------------------

The whitespace is a tab character; when I replace it with a space, it
works.  Is that correct?  Is that documented somewhere?  

When I use tabs instead of spaces in

-
------------------------------------------------------------------------
+/ 3    4  5
-
------------------------------------------------------------------------

I get the expected 12, so J does seem to recognize implicit lists (no
commas) that have tabs.

Thanks,

Bill
- -- 
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFH2LQt3J3HaQTDvd8RAsdYAJ9WasF8vU1K1ks/UUm58bSoUgSi5gCeN4Ua
d3V02ZkdNLVXpqivUoekTAM=
=Cxq2
-----END PGP SIGNATURE-----
----------------------------------------------------------------------
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