Home » Personal collection » Commodore disks » disk52a2_c16_progs.d64 » ages
ages
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
| Tape/disk: | Home » Personal collection » Commodore disks » disk52a2_c16_progs.d64 | 
| Filename: | ages | 
| Read OK: | ✔ | 
| File size: | 02CE bytes | 
| Load address: | 1001 | 
| Exec address: | 0000 | 
Duplicates
There is 1 duplicate copy of this file in the archive:
- Personal collection » Commodore disks » disk52a2_c16_progs.d64 » ages
- Personal collection » Commodore tapes » Commodore_16 » drawer_br_tape07a_c16_d90_ages_b.wav » ages b
File contents
    10 COLOR 0,1
    20 COLOR 4,1
    40 SCNCLR
    50 TI$="120000"
    60 PRINT"<cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><flash on><yellow>HELLO!"
    70 IF TI$<>"120005" THEN 70 ELSE 80
    80 SCNCLR
    90 PRINT:PRINT:PRINT:PRINT:PRINT
    95 COLOR 1,6
   100 INPUT"    HOW OLD ARE YOU";A
   110 PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT
   120 IF A>=120 THEN 140
   130 IF A>0 THEN 180
   140 PRINT"I DON'T BELIEVE YOU!"
   150 PRINT:PRINT:PRINT"  HIT ANY KEY"
   160 GETKEY A$
   170 GOTO 80
   180 B=A*12
   190 D=A*365
   200 C=D/7
   210 COLOR 1,14
   220 PRINT"YOU ARE ";A;" YEARS OLD."
   230 PRINT:PRINT"YOU ARE ";B;" MONTHS OLD."
   240 PRINT:PRINT"YOU ARE ";C;" WEEKS OLD."
   250 PRINT:PRINT"YOU ARE ABOUT ";D;" DAYS OLD."
   260 COLOR 1,9
   270 PRINT:PRINT:PRINT"TO HAVE ANOTHER GO PRESS SPACE"
   280 PRINT:PRINT"TO END PRESS E"
   290 Y=1
   300 GET Z$:IF Z$=" " THEN 80
   310 IF Z$<>"E" THEN 300
   320 SCNCLR
   330 TI$="120000"
   340 PRINT"<clr><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><flash on><yellow>GOODBYE!"
   350 IF TI$<>"120005" THEN 350 ELSE 360
   360 SCNCLR
                � 0,1 � 4,1 ( � ,2 TI$�"120000"