|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Smalltalk syntax...? (cascading method calls) |
Date: | Thu, 25 Jun 2009 11:07:40 +0200 |
User-agent: | Thunderbird 2.0.0.17 (X11/20081009) |
(e anchor href: 'http://smalltalk.gnu.org') image source: '/resources/gst_medium.png' alternativeText: 'abc'. and this one throws the parse error: e anchor href: 'http://smalltalk.gnu.org'; image source: '/resources/gst_medium.png' alternativeText: 'abc'.
This one would work: (e anchor href: 'http://smalltalk.gnu.org'; image) source: '/resources/gst_medium.png' alternativeText: 'abc'. Basically you cannot chain unary messages after a semicolon. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |