help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Saving a class


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Saving a class
Date: Mon, 26 May 2008 14:32:25 +0200
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

suppose I have a class like Hello, and I want to export it as a text file. How do I do it?

You can load the Parser package

PackageLoader fileInPackage: 'Parser'

and then use something like

(File name: 'Hello.st') writeStream fileOut: Hello; close

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]