| |
|
|
- Page 1 - |
|
 ByteAttack | somehow Have I a fallacy with Between. get always only 0 out???
example:
Declare XPos!,YPos!,RectX1!,RectY1!,RectX2!,RectY2!
' position X20:Y20
XPos!=20
YPos!=20
' rectangle 10,10-50,50
RectX1!=10
RectY1!=10
RectX2!=50
RectY2!=50
print Between(XPos!,RectX1!,RectY1!,YPos!,RectX2!,RectY2!)
Waitinput
|
|
|
| |
|
|
 |
« this Posting watts as Solution marked. » |
|
 Michael W. | Between asks, whether The values inside the border are. Result means 0 or 1. and are The values between 10 and 10 and between 50 and 50 (means really BETWEEN) ???
P.s.: means first The 1. size entire, then evtl. The 2. and then evtl. The Dritte. is from whom Parameters but too obviously (not XXY,YXY separate XXX,YYY) |
|
|
| System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 08/07/15 ▲ |
|
|
 |
|
|
 ByteAttack | Ahhhhhhh... thanks.... now hats klick in the head made  its simply To warm... (rotten apology) |
|
|
| |
|
|
|
 | Yes, Between gives always only 0 from, and so one instead of Between too simply 0 write can. 
one can itself for too a function create:
... these You can then even too with Parameters ornate! ^^ |
|
|
| |
|
|
|
 ByteAttack | I Have you too endearing David...

 |
|
|
| |
|
|
|
 | |
|
| |
|
|