| View previous topic :: View next topic |
| Author |
Message |
pvi
Joined: 31 Mar 2008 Posts: 6
|
Posted: Sat Apr 12, 2008 2:16 pm Post subject: Expression bug? |
|
|
Can anyone explain to my why this code:
| Code: |
x := 0 <= 22 and 0 >= 6
if x
msgbox true
return
|
reacts different from this code?
| Code: |
if 0 <= 22 and 0 >= 6
msgbox true
return
|
In the first case the message box doesn't show up, in the second it does. I'm running under Vista with version 1.0.47.06. _________________ Paul Vintges |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 3877 Location: Pittsburgh
|
Posted: Sat Apr 12, 2008 3:06 pm Post subject: |
|
|
You need | Code: | | if (0 <= 22 and 0 >= 6) | otherwise 0 is compared to the string "22 and 0 >= 6" |
|
| Back to top |
|
 |
pvi
Joined: 31 Mar 2008 Posts: 6
|
Posted: Sat Apr 12, 2008 3:45 pm Post subject: |
|
|
ok, thx _________________ Paul Vintges |
|
| Back to top |
|
 |
|