CompuServe Messages

#Opps!

#: 15015 S9/ProgrammingForum unknown
    16-Apr-86 20:44:07
Sb: #14964-#Opps!
Fm: Steve Allen 73277,620
To: Bela Lubkin/Sysop 76703,3015

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.

On the Amiga there is some disagreement between C compilers about the length of an int (may be 16 or 32 bits), but no disagreement about the length of a short (always 16 bits) or a long (always 32 bits). Accordingly, short peekw(address) and void pokew(address,value) long address; short value; will tend to be more portable. Also, can't you just say for poke(), void poke(address,value) long address; char value; { *address = value; }