updating oE current_dir

current_dir

include filesys.e 
namespace filesys 
public function current_dir() 

Return the name of the current working directory.

Returns:

A sequence, the name of the current working directory

Comments:

There will be no slash or backslash on the end of the current directory, except under Windows, at the top-level of a drive (such as C:\).

Example 1:
sequence s 
s = current_dir() 
-- s would have "C:\EUPHORIA\DOC" if you were in that directory 
See Also:

dir, chdir

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu