Post Reply 
Comportement étrange
10-05-2015, 09:15 PM (This post was last modified: 10-05-2015 09:16 PM by Tyann.)
Post: #1
Comportement étrange
Sur la calculatrice physique, entrez ce code:
Physics calculator, enter this code :
Code:

EXPORT TEST()
BEGIN
WAIT(1);
WHILE GETKEY<0  DO
END;
END;
Lancez ce programme puis appuyez sur une touche
il s'arrête, normal.
Maintenant relancez le programme puis pointez avec vôtre
doigt sur l'écran en différents endroits 3 fois minimum
appuyez maintenant sur une touche, le programme ne s'arrête plus
sauf avec la touche 'On'.

Run this program and press any key
he stops, normal .
Now run the program again and then point with yours
finger on the screen in different locations 3 times minimum
Now press a key , the program will not stop
except with the button 'On' .[/code]

Sorry for my english
Find all posts by this user
Quote this message in a reply
10-06-2015, 09:16 PM
Post: #2
RE: Comportement étrange
I confirm this issue.
I think the problem is related to the command GETKEY that stop functioning properly when the screen is touched three times.
Program stays in the loop until you press the ON key. Other keys just doesn't work.

I checked also the version using REPEAT UNTIL loop (without WAIT) and this issue is also present.

Code:
EXPORT TEST()
BEGIN
LOCAL a;
REPEAT
PRINT();
a:=a+1;
PRINT(a);
UNTIL GETKEY>=0;
END;

Piotr Kowalewski
Radioactive Wastes - game for HP Prime
Find all posts by this user
Quote this message in a reply
10-07-2015, 01:41 AM
Post: #3
RE: Comportement étrange
I'll put it on the list...

Seems quite strange.

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)