Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

61 >RUN 7.0000 9.0000 2.3333 49.0000 A few points: 1. The maximum number of significant figures is ten. 2. Format 1 gives figures as exponential values Format 2 gives figures to a fixed number of decimal places. Format 0 is the ‘normal’ configuration. 3. To set the print format back to its initial value (Format 0 and field width ten), set @%=&90A. The & tells the computer that the numbers which follow are ‘hexadecimal’ numbers – that is, numbers based not on 10s but on 16s. Here is a list of hexadecimal numbers (which include the letters A to F).

Decimal number Hex number 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F 16 10 17 11 18 12 19 13 20 14 If you want the computer to print a number or variable in hex then you must put the symbol ~ before it. For example PRINT ~12 will give C .