English
Forum & Help

Why is my Infinity-aray "undefiniert"?

 

Erasmus.Herold
Hallöchen ...

with the subesquent routine read I as Event the Touchdisplay from. The ID supply The touch, DATA supply The restlichen Information in the one aray. now interested me only The X and the Y position. The supposition was, Data[1], ... To using, circa on the Xte area To gelangen. The feedback is "undefiniert". What do I do wrong?

Source:

proc event id data

cls
print "Status the touch:" + id
print "Anzahl Entries in the aray: " + len(data)

print data

print "Position X: " + data[1]
print "Position Y: " + data[2]
endproc

Greeting and Thanks
Erasmus
 
04/02/16  
 



hint: Print on one aray shows any Key and values.

what You seek find You in data.x , can also data["x"] write.

here the structure:  [...] 


In Data finds itself each 1 assoziatives aray with subesquent Schlüsseln:

long p = pointer = fingers (ID one Fingers, 0..x)
float x = position on screen
float y = position on screen
float press: Druckstärke, with Fingern mostly 1.0
float size: The Aufdruckgröße
string devicename: Bezeichnung the Stiftes, something like How "sec_e-pen" with Pens or or "sec_touchscreen" with fingers
long deviceid = eindeutige Gerätenummer The to Neustarts but differently his can
string device = eindeutige GeräteID also Neustarts übersteht
 
04/02/16  
 




Erasmus.Herold
functions.
Very horny.
Thank you.

Greeting - Erasmus
 
04/02/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.651 Views

Themeninformationen

this Topic has 2 subscriber:

Erasmus.Herold (2x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie