[Cuis] Determining dialect programmatically

Casey Ransberger casey.obrien.r at gmail.com
Sun Jan 27 06:37:48 CST 2013


I'm thinking I might want to do some stuff conditionally based on platform,
is the best way to find out whether I'm on Pharo/Squeak/Cuis?

(SystemVersion current version beginsWith: 'Cuis') ifTrue: [ #foo ]
(SystemVersion current version beginsWith: 'Squeak') ifTrue: [ #bar ]
(SystemVersion current version beginsWith: 'Pharo') ifTrue: [ #baz ]

-- 
Casey Ransberger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20130127/6dea4949/attachment-0001.html>


More information about the Cuis mailing list