I use:

      (*z)*24 60 20#:|z=._7384

_6 _9 _4

In words take absolute value before ANTIBASE, them multiply by sign of
argument.

Tom Arneson
http://home.comcast.net/~tomarneson/


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Vincent-Jones
Sent: Monday, April 03, 2006 19:06
To: JSoftware Programming
Subject: [Jprogramming] Negative Antibase

Using BASE in both positive and negative applications worked just as I
imagined ....
   24 60 20 #. 2 3 4
2464
   24 60 20 #. -(2 3 4)
_2464

but when I tried the same thing with ANTIBASE I ran into a problem ..
   24 60 20 #: 7384
6 9 4
   24 60 20 #: _7384
17 50 16

Obviously I can test for negative and make a big production of the
conversion .. is there a simple solution?

I am looking for something similar to -(6 9 4)

Thanks


----------------------------------------------------------------------
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