Re: Getting Current Working Directory

Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Organization Gobo
Message-ID <[email protected]>
Peter Gummer wrote:
> On 13/09/2004, at 7:08 AM, neallester wrote:
> 
>>What is the Gobo way to get the current working directory?
>>
>> {KL_OPERATING_SYSTEM}.current_working_directory is exported to {NONE}
> 
> Have you tried inheriting KL_OPERATING_SYSTEM, Neal?

No, don't try that. {KL_OPERATING_SYSTEM}.current_working_directory
is not exported because it's used for implementation purposes. Who
knows, one day the implementation might change and this routine might
disappear. As I said in my previous message, you should inherit from
KL_SHARED_FILE_SYSTEM and use 'file_system.current_working_directory'.

Yes Peter, I know, this should be documented somewhere so that
newbies don't waste their time trying to figure out what to do
in order to get the current working directory... ;-)

-- 
Eric Bezault
mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected]
http://www.gobosoft.com



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.