|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 384 (0x180) Types: TextFile Names: »NUMBER.BAS«
└─⟦016ef1d53⟧ Bits:30005210 BASIC Demo └─ ⟦this⟧ »NUMBER.BAS«
5 PRINT CHR$(27);"E";"NUMBER DISPLAYS EACH TYPE OF BASIC-80 VARIABLE" 10 INPUT"ENTER A STRING";A$ 20 INPUT"ENTER A DOUBLE PRECISION NUMBER";A# 30 INPUT"ENTER A SINGLE PRECISION NUMBER";A 40 INPUT"ENTER AN INTEGER(IN DECIMAL,OCTAL,OR HEX)";A% 50 FOR B = 1 TO 10 60 PRINT A$,A#,A,A% 70 NEXT B 80 INPUT "MENU";A$ 90 RUN "MENU"