Bug? Condition followed by ":"

jo1234

Active Member
Licensed User
Longtime User
Hi,

a condition followed by multiple commands separated by ":" is treated differently in VB6 and B4i.

Example:
If a=0 then b=1: c=1

If you use this syntax in VB6, both commands are only executed when the condition is true.
In B4i the second command is always executed, regardless whether the condition is true or not.

Bug or on purpose?
 
Top