|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Question on translating some code from VisualSmalltalk to GST.. |
Date: | Wed, 26 Sep 2012 17:59:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
Il 25/09/2012 23:54, Rick Flower ha scritto: > > someMethod > > ^#( > ('foo' someClassName) > ('bar' someOtherClassName) > ... > ) > > Any suggestions on what this might translate to in GST? It's an array of arrays. In GST you need to prefix symbols with # always: ^#( ('foo' #someClassName) ('bar' #someOtherClassName) ... ) Otherwise true/false/nil would conflict. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |