Bufff, I hate that "format". Kill me :)

I don´t see the message #&& . I have image Pharo dev 10418 BETA.

&& works as #and:  ? is a lazy comparison?

Regards



2009/9/14 Stéphane Ducasse-2 (via Nabble) <
[email protected]<ml-user%[email protected]>
>

> since I cannot give you feedback on the morphic internal
> I will give you some smalltalk ones
>
>
> anchorToLeft: toLeft toRight: toRight toTop: toTop toBottom: toBottom
>
>         morph owner notNil
>                 ifTrue:
>                         [| fractionsRectangle offsetsRectangle owner |
>                         owner := morph owner.
>                         anchoredToLeft := toLeft.
>                         anchoredToRight := toRight.
>                         anchoredToTop := toTop.
>                         anchoredToBottom := toBottom.
>                         ((anchoredToLeft not) and: [anchoredToRight not]
>                                 and:[anchoredToBottom not]
> and:[anchoredToTop not ])
>                                         ifTrue: [owner addMorph: morph
>  fullFrame: nil.]
>                 ifFalse:
>                         [ fractionsRectangle := self
> pvtBuildFractionsRectangle.
>                         offsetsRectangle := self pvtBuildOffsetsRectangle:
>
> fractionsRectangle.
>                         owner addMorph: morph  fullFrame: (LayoutFrame
> fractions:
> fractionsRectangle offsets: offsetsRectangle)]].
>
> looks more smalltalkish to me
> BTW for the
>         ((anchoredToLeft not) and: [anchoredToRight not]
>                                 and:[anchoredToBottom not]
> and:[anchoredToTop not ])
> it may be more efficient to use
>         &&
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden 
> email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3642989&i=0>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/Polymorph-TabIndex-and-layoutFrames-questions-tp3638041p3642989.html
> To unsubscribe from Re: Polymorph - TabIndex and layoutFrames questions, click
> here< (link removed) >.
>
>
>

-- 
View this message in context: 
http://n2.nabble.com/Polymorph-TabIndex-and-layoutFrames-questions-tp3638041p3643155.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to