Binary data
Blitz3D Forums/Blitz3D Beginners Area/Binary data| 
 | ||
| Is it possible to do something like %10110000 like we use $ff00ff00 for hexadecimal? i.e. Data %10110000 Thanks Jim | 
| 
 | ||
| Yes. i% = %00001001 ;result = 9 | 
| 
 | ||
| Oh, that's EASY! | 
| 
 | ||
| I understand why it's 9, but why doesn't Blitz return 1001 instead? | 
| 
 | ||
| @Buggy: the %0001001 is converted to an integer representation during the compilers first pass before tokenising all of the commands for translation | 
| 
 | ||
| Print Bin(i) |