Uisng BlitzBasic Floats
BlitzPlus Forums/BlitzPlus Programming/Uisng BlitzBasic Floats| 
 | ||
| Does anyone remember how many bytes an integer  and a Float where in BlitzBasic? I'm still using it and I like it? | 
| 
 | ||
| Wouldnt it depend on the processor you were compiling towards? | 
| 
 | ||
| nah, not these days.  An Integer is 4, I think float is 8 (hense the term double) but could be wrong about the float.  I guess a Integer could be 64bits (thus 8 bytes) on a 64 bit processor but I'm pretty sure that Blitz Plus WON'T make use of that without being recoded. | 
| 
 | ||
| ***ALWAYS*** integer = 4 Bytes float = 4 Bytes | 
| 
 | ||
| well there you go.  I'm used to Delphi where a Float (called Extended) IS 8 bytes and on older systems an Int was only 16-bit. | 
| 
 | ||
| Dunno why this one disappeared from the archives... it *was* there. Anyway, handy function working with banks, and you want to inspect bytes, shorts, ints, floats. MonitorBank bank ; the other 2 arguements are not for you :P |