0 Members and 1 Guest are viewing this topic.
Stop:Stops execution until the next interrupt occurs. Interrupts must be enabled or else the calculator will freeze.
HoMM: [==--------] Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :PtiDE: [----------] Explored and understood the main part of the code: just started writing a Tokenizer.
FnOffStop
dihalt
The calc would hang and you would have to pull a battery.
0->C->XClrHomefnInt(T,0Repeat getKey(0)!If CDisp X+1->X>Dec50->CEndEndReturnLbl TC-1->C
Ah ok I was worried worse stuff migth happen or something
Back to your original problem, interrupts would probably be the way to go.An example:Code: [Select]0->C->XClrHomefnInt(T,0Repeat getKey(0)!If CDisp X+1->X>Dec50->CEndEndReturnLbl TC-1->C(Untested, should work)Edit: Oops, wrote getKey instead of getKey(0). Fixed.Edit 2: Bad typo. Fixed