Lyrical Nanoha wrote:
On Tue, 12 Sep 2006, Michael J. Mahon wrote:BLuRry wrote:BTW, 49235 = 12*4096 + 0*256 + 5*16 + 3. C 0 5 3If you're lazy like me and have the windows calc program handy, switch it to scientific mode and you can convert between hex and dec numbersTrue, but I find this a convenient and self-documenting convention for hex numbers in BASIC. (I wish it had a built in HEX notation, but since it's Microsoft BASIC, it would probably be 8080-style XXXXh. ;-)Most MS BASICs use &Hxxxx for hex notation o.o;
Yes, I have TRS-80 Model I's Level III BASIC extension from Microsoft 1979 (written by Bill Gates no less according to the manual) and it has both octal and hex constants by preceding with &O and &H.
Well, if you are interested: L3 is kind of a cassette based disk basic. It comes with a disk version too but it is kind of stupid because it kills whatever dos that loads it and saving or loading of your L3 basic program is to/from cassette. It had some nice but rather slow drawing functions. Some of my programs written for L3 would be stored to disk, when I got disk drives, by dumping L3 and the basic program to a load format file /CMD with an execute address to the RUN command to get rid of the cassette business. :-)
-- Knut (delete 'nogarbage.' for email)