[Top][All Lists]

[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 (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: '') writeStream fileOut: Hello; close


reply via email to

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