My objective is to make a basic timer; thing is, it's nowhere said how to use correctly the checkTmr command and I end up getting ERROR: DOMAIN.
Please see the root of my timer program without all the little options i added later in its execution sequence:
ClrHome setTmFmt(24) Setting everything up. ClockOn Output(1,1,"TIMER : PRESS") Output(2,1,"ENTER TO START") getKey→K If you press Enter, it starts. If K=105 Then Output(1,9," ") Output(2,1," ") startTmr→X End Lbl AA checkTmr(X)→Y Could i use directly X without getting it in another variable ? timeCnv(Y)→Z Here it converts the time to please the eye. Output(2,1,Z) The Z variable is to be reused in later stages of the program Goto AA
I know my way of programing could be a lot improved and that i could use repeat instead of getkey then if but, my goal here is to understand how checkTmr works so thanks in advance for your answers ! ^^