1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-26 10:20:51 +00:00

Added #define directive

This commit is contained in:
Karol Stasiak
2019-06-26 13:43:15 +02:00
parent b85e175292
commit c9a65d5971
5 changed files with 53 additions and 2 deletions
+7
View File
@@ -10,6 +10,8 @@ import c64_basic
import c264_basic
#endif
#define READKEY = CBM_64 | CBM_VIC | CBM_264 | CBM_128 | ZX_SPECTRUM | NEC_PC_88 | ATARI_8
void main () {
init_rand_seed()
ensure_mixedcase()
@@ -60,5 +62,10 @@ void play_round() {
putword(guess_count)
putstrz(" attempts!"z)
new_line()
#if READKEY
putstrz("Press any key to play again."z)
readkey()
new_line()
#endif
new_line()
}