Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

fileOut loses method categories
When I fileOut a class, the category information for all the methods
seems to be lost... is there a way to preserve this?
Thanks.


Report this thread to moderator Post Follow-up to this message
Old Post
PaulAtKP
05-20-05 01:59 AM


Re: fileOut loses method categories
"PaulAtKP" <paul.macmillan@kp.org> wrote:
> When I fileOut a class, the category information for all the methods
> seems to be lost... is there a way to preserve this?
> Thanks.

Which Smalltalk?
Squeak and VW do this quite nicely.

Cheers,
Hans-Martin

Report this thread to moderator Post Follow-up to this message
Old Post
Hans-Martin Mosner
05-20-05 01:59 AM


Re: fileOut loses method categories
PaulAtKP wrote:

> When I fileOut a class, the category information for all the methods
> seems to be lost... is there a way to preserve this?
> Thanks.

Hi Paul,

In VA Smallalk, the incantation is:

System fileOutCategories: true

File out after doing that, and all category information is included in
the file-out.

If you are not moving code away from VA Smalltalk, it is usually
preferable to use the export/import mechanism instead of file-ing out
and in.

Export/import (which are use cases provided by the Envy/Manager code
management subsystem of VA Smalltalk) preserves about all there is to
preserve about your code (in a binary format).

If you want to move between dialects and you can't use Envy, some form
of textual file-out may well be indicated.

The VisualWorks dialect also has several mechanisms for moving code
built-in.

Let us know what it is that you are trying to do, and with which
dialect(s), and we can help you better.

Cheers,

Peter

Report this thread to moderator Post Follow-up to this message
Old Post
Peter van Rooijen
05-20-05 01:59 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Smalltalk archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:03 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.