English
Forum & Help

möglicherweise one Error komplexer IF request ....

 

Erasmus.Herold
Hallöchen ...
if (id >= 200) AND (id <= 201) AND (data.y > 200) AND (data.y < 600)


If the display touched becomes, or the fingers drüber drives (ID = 200 / 201) UND the only area of 200 Pixel of supra UND in the area 600 Pixel of supra happens, then .....

1. The request reacted => but => with 1 To 600 Pixel of supra ... !

2. Kürze I The request ...
if (id >= 200) AND (id <= 201) AND (data.y > 200)


... functions The request in the doing ex 200 Pixel of supra

3. or kürze I so ....
if (id >= 200) AND (id <= 201) AND (data.y < 600)


functions too of 0 To 600 Pixel of supra.

only The Eingrenzung of 200 To 600 wants (too with More clinging) not gelingen.

Greeting
Erasmus
 
04/08/16  
 



Ui, there have You but a Operator  [...]  unpacked the literally in Infinity not at all existing: and

the logische "And" by &&, "Oder" by || - are hold The usual Operators.

Infinity becomes here simply And as Variable understand and the Space-Operator power whom (if neither intended) remainder.
 
04/08/16  
 




Erasmus.Herold
thanks and Sorry.
the i was gedanklich again fully in XProfan on the way.

Greeting
Erasmus
 
04/08/16  
 




Erasmus.Herold
functions and closed.

Erasmus
 
04/08/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

5.120 Views

Themeninformationen

this Topic has 2 subscriber:

Erasmus.Herold (3x)
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