Dear Support,
I must ported pascal source code into PBCC code:
1. Which functions can I use from the Pascal functions Keypressed() and ReadKey() replace into PBCC functions and C++ functions?
2. What is the different en when I use this functions?
INSTAT(), WAITKEY(), INKEY$(), WAITSTAT()
With Kind regards
Stephane
I must ported pascal source code into PBCC code:
Code:
' repeat DO 'write('Aantal herhalingen: '); 'readln(tijd); LOCAL a AS STRING STDOUT "Aantal herhalingen: " : STDIN LINE a : tijd = VAL(a$) 'repeat DO CALL sub_routine() 'until Keypressed; LOOP UNTIL INSTAT LOCAL key AS STRING 'key := ReadKey; 'until key = chr(27); LOOP UNTIL INKEY$ = CHR$(27)
2. What is the different en when I use this functions?
INSTAT(), WAITKEY(), INKEY$(), WAITSTAT()
With Kind regards
Stephane
Comment