Of course, how could I have missed it before, thank you both :)
Jan
Blondeau Vincent wrote
> Hello,
>
> You should but a block after "and:".
> If you don't, the instruction will be always executed...
> The block represents a kind of conditional action.
>
> So if you want to do it works :
> fal
Hi,
that's because you need to pass a block, since you want to postpone to
execution.
i.e. false and: [Transcript open]. (otherwise the binary operation
Transcript open will take precedence over keyword false and:)
You can always look at the implementation of those things — I always learn
somethin
ssage d'origine-
De : Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] De la part de Jan
B.
Envoyé : vendredi 3 avril 2015 12:10
À : pharo-users@lists.pharo.org
Objet : [Pharo-users] Non-evaluating and / or
Hello
I would like to ask how to do non-evaluating and.
As far as I know, &
Hello
I would like to ask how to do non-evaluating and.
As far as I know, & should be evaluating and and: should be non-evaluating.
However, I need to find a way how to use it properly.
In "conventional" languages I would expect to work it like in following
example...
false and: Transcript open