Hello
I'm currently learning about the MOUSE() command used to detect where a finger is touching the screen.
It returns a list of lists with following structure:
{{x,y,...}{}}
where x and y are the coordinates of the points where the touchscreen is hit. At least this is what I understood...
I tried to use the SUB() command to extract x and y (separately or as a list {x,y}), but did not get better result than
{{x,y,...}}
i.e. a list of list of the first term of the list returned by MOUSE().
I was thinking that
SUB(SUB(MOUSE(),1,1),1,1)
would return x coordinate of the touch point, but it does not.
I did not find any other command dealing with lists that could do the job.
Did I miss something, am I doing something wrong (probably !)
Help much appreciated.
Kind regards.
[HP-Prime] Picking elements from a List in a program
|
|
« Next Oldest | Next Newest »
|