The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Output from WAIT(-1)
01-06-2021, 09:57 PM
Post: #1
Output from WAIT(-1)
Hi all,
In a program I am making, I use the command WAIT (-1) to register both keystrokes and screen touch. In the documentation I have it says that when I touch the screen I get the following output: {type, [x, y], [dx, dy]}. An example of this is {#3h;#B0:-16h;#96:-16h}. How should I interpret this output? The '#3h' is of course the 'type', and indicates what kind of movement has been recorded. The '#B0' and the '#96' are the x and y coordinates where the screen is touched, but what should I do with those '-16h', and how can I remove it? To make those x and y coordinates usable, it will probably be necessary to convert them to decimal integers. I would like to hear how I can best process this information. Thanks in advance! Sincerely, Karel.

I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Output from WAIT(-1) - cahlucas - 01-06-2021 09:57 PM
RE: Output from WAIT(-1) - Joe Horn - 01-07-2021, 04:54 AM
RE: Output from WAIT(-1) - cahlucas - 01-08-2021, 04:55 PM
RE: Output from WAIT(-1) - Joe Horn - 01-08-2021, 10:20 PM
RE: Output from WAIT(-1) - cahlucas - 01-09-2021, 06:14 PM
RE: Output from WAIT(-1) - cahlucas - 01-09-2021, 09:36 PM



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