| View previous topic :: View next topic |
| Author |
Message |
Gfy Guest
|
Posted: Tue Apr 08, 2008 2:26 pm Post subject: Bug within IF |
|
|
Hallo
I have make a mistake in a IF and found so a Bug
| Code: | a := 10
if a = 10
msgbox a=10
if a = 10 )
msgbox a = 10 )
if( a = 10 )
msgbox ( a = 10 )
|
In the 3te If i have forgot the (. I get no Compiling Error and the code isent execute. |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 408
|
|
| Back to top |
|
 |
sasaa Guest
|
Posted: Wed Apr 16, 2008 6:02 pm Post subject: |
|
|
ARRGH!  |
|
| Back to top |
|
 |
Piz
Joined: 16 Feb 2008 Posts: 46
|
Posted: Thu Apr 17, 2008 1:30 pm Post subject: |
|
|
| sasaa wrote: |
ARRGH!  |
ARRGH indeed. That's why I always use parens in my IF statements. |
|
| Back to top |
|
 |
|