TIP: Click on subject to list as thread! ANSI
echo: net_dev
to: mark lewis
from: Ian Smith
date: 1996-08-16 04:13:00
subject: Type-10 comments (1/3)

ml>  10>> "BinaryAddress"
 AH> You've defined an integer (-32768 - 32767) for Zone, Net, Node and
 AH> Point. Why not use a word (0 - 65535) for this?

I can't believe anyone still thinks there's any difference, apart from how
local software chooses to _represent_ exactly the same 16-bit values?

JS> Because many applications use the negative numbers for "special
JS> purposes" like as a flag to indicate the presence of
"ALL" in that
JS> field.

Is 0xffff equal to '65535' or to '-1'?  Parse either, what do you get in hex?

What's the difference between -32768 and +32768, in 16-bit terms?  Zero.

 ml> can you name them and keep in mind that they should also be ones that
 ml> are actively used today

Both signed and unsigned representations are used today, with no apparent
problem (unless you're planning doing arithmetic on net/node numbers, like
echomail bundle names, where the unsigned view might give more convenient
results, though it's still the same in the lower 16 bits).

 ml> and *WILL* be updated to support your type-10
 ml> proposal?? i know that there are several packages out there in use today
 ml> that will/can never be updated as their original authors are long gone
 ml> and no source code is available for them...

What's to update?

Ian

---

* Origin: Magic Puddin' _ Nimbin, Terania, Oz _ +61-66-89-1843 (3:626/660)
SEEN-BY: 50/99 209/720 620/243 626/660 632/348 640/206 230 305 820 821 822
SEEN-BY: 640/823 690/660 711/409 410 413 430 808 809 934 712/515 713/888
SEEN-BY: 800/1
@PATH: 626/660 640/820 711/409 808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.