#What goes where?
17-Feb-88 22:12:16
Sb: #109683-#What goes where?
Fm: Ben Blish 72667,1341
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.
1 to 127 using signed char are zero. Using unsigned char, 128. No problem.
Add 1 to a 32 bit float… add 1 to a 32 bit int. you can get totally
different results. Great. I like having the flexibility available… I
don't want to be nudged alla time about it. Pointers are handling items
much more diversified than numbers; a pointer may be pointing to an item
that is a unit size of 27 bytes – or 2, or 1. It's a different issue – and
since the compiler can take care of making sure that the number gets to
it's target whether you'r eusing char, int, or whatever, I odn't need to be
bugged about casting. With a pointer, if you are not using the proper
pointer, your data may end up quite a ways off from it's target – a
different issue entirely, and one that is extrordinarily dangerous in a
system w/o an MMU… like the Amiga. I just have no _use_ for numeric
casting. Pointer casting, I have a use for. Those are my reasons. <grin>
Regards <tounge firmly in cheek> Ben