Hello,

I have a question regarding what's the difference between both method calls in the example below, because I thought, both are equivalent, but in the later one, I get a parse error:

/home/joe/.st/UrPics.star#VFS.ZipFile/PageTemplate.st:47: parse error, expected ']'

Would be nice, if someone could point me to my error in thinking...
(or my mistake in understanding the smalltalk syntax)

This works:

(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'.

Thanks in advance,
Joachim.


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to