#What goes where?
18-Feb-88 00:31:03
Sb: #109717-#What goes where?
Fm: Nick Sullivan/Transactor 76703,4353
To: John Draper 76703,4322
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
Larry, the unnatural thing about BPTRs is that they're not pointers at all
in the normal sense, they're the ordinal number of a long-word in memory;
i.e. the BPTR to address 4 is 1, to address 8 is 2… etc. I'm not sure
(haven't tried), but since C lets you say: "static foo;" and assumes you
mean "static int foo;", int being whatever the compiler writer takes to be
the natural data size for the machine at hand, you can probably say "static
*foo" and get a pointer to data of that size. So the answer (for those who
think the natural data size is long) is yes, a pointer to the natural size
is a pointer to long.