Re: [Gambas-user] AND and OR

2014-10-05 Thread Jørn Erik Mørne
Den 05. okt. 2014 23:19, skrev Jussi Lahtinen: > The extra "if" enables short-circuiting > and thus it is very > useful in some cases. > > Example, you can write "if then" structures like this: > If hObject <> Null And If hObject.SomeProperty

Re: [Gambas-user] AND and OR

2014-10-05 Thread Jussi Lahtinen
The extra "if" enables short-circuiting and thus it is very useful in some cases. Example, you can write "if then" structures like this: If hObject <> Null And If hObject.SomeProperty = True Then Without the extra "if" this would fail, if th

Re: [Gambas-user] AND and OR

2014-10-05 Thread Jørn Erik Mørne
Den 05. okt. 2014 21:11, skrev Tobias Boege: > On Sun, 05 Oct 2014, J??rn Erik M??rne wrote: >> Why is it not allowed to use AND and OR in the same logical test? >> > It is allowed and works: > >$ gbx3 -e "(False And Not False) Or (False Or Not False)" >True > > Maybe you refer to the AND

Re: [Gambas-user] AND and OR

2014-10-05 Thread Tobias Boege
On Sun, 05 Oct 2014, J??rn Erik M??rne wrote: > Why is it not allowed to use AND and OR in the same logical test? > It is allowed and works: $ gbx3 -e "(False And Not False) Or (False Or Not False)" True Maybe you refer to the AND IF and OR IF keywords in an IF statement? Regards, Tobi --

[Gambas-user] AND and OR

2014-10-05 Thread Jørn Erik Mørne
Why is it not allowed to use AND and OR in the same logical test? -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Re