Tore,
I think you're tired :)
Look closer and you'll understand, these two are not equavalent.
Do I need to explain why? :)
>Borislav,
>
>actually adding the second parameter to DoDefault() made the strange behavior stop. I don't mean to be ungrateful, but I was not so interested in solving the problem itself, because I already had that solved. I was more interested in knowing WHY the construct
>If condition1 and condition2
> do something
>Endif
>behaves differently from
>If condition1
> If condition2
> do soemthing
> Endif
>Endif
>I am pretty sre that this is a bug, but I don't expect it to be fixed. :-)
>
If it's not broken, fix it until it is.
My Blog