Hi all,

Does J have the notion of a current working directory, such that if one
reads in data from a file that is specified with a relative path, J gets
the working dir and finds the specified file relative to it.  

Along with this general knowledge, please tell me if there are functions
to (1) return the string of the working directory, and (2) change to a
working directory based on a string input.

Forgive me, but I will have to give an example in very non-APL ish
pseudo code:

changdir ("/home/fork/example")
data = readata(getcwd() + "/stuff.csv")  

data will then have the contents of file "/home/fork/example/stuff.csv".

If there is a page that documents this, a link would be much
appreciated.  Thanks again for everyone's help and patience.

W
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to