|
Post by rosy on Aug 25, 2021 16:19:50 GMT -6
WindowOpen(0, "maximize", WINDOWPOS_CENTERED, WINDOWPOS_CENTERED, 640, 400, WINDOW_RESIZABLE, 1) CanvasOpen(0, 640, 400, 0, 0, 640, 400, 1) SetColor (-1) graczy=0 Do ClearCanvas Circle (mousex, mousey,10) If WindowEvent_Maximize(0) then SetWindowFullscreen (0, 1) End If s=Inkey Update if (s or MouseButton(0)) then print s End If gol=0 Loop Until s=K_Escape or (graczy=0 and (s or MouseButton(0)))
Any key should end the program. But, for example, R or UP does not end there. After entering s <> 0 is OK
|
|
|
Post by n00b on Aug 25, 2021 20:21:52 GMT -6
That is strange. I will look at it.
|
|
|
Post by rosy on Sept 9, 2021 6:46:41 GMT -6
While wkra<>4 AND kra[wkra]
the loop does not work when kra[wkra]=2
|
|
|
Post by n00b on Sept 9, 2021 11:41:50 GMT -6
I have already found the issue. Currently AND, OR, and XOR do bitwise rather than logical comparisons. It should work as long as both sides of the argument are boolean expressions (ie. kra[wkra]<>0 instead of kra[wkra]). It will be fixed in the next release.
Also, I have read all your other issues as well. I just want you to know incase you thought I ignored them.
|
|