Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: misc.parentdir - Function Up: misc - Tool Previous: misc.fileexists - Function


misc.dir - Function



Package utility
Module misc
Tool misc


Return the directory for a given directory name


Synopsis
dir(directoryname)


Description
This returns a set of strings containing the files in the specified directory. Note that the directory name '.' is always returned.



Arguments

directoryname   Directory name
    Allowed: String


Example
- dms.dir('.')
. tmplinst ms.help makefile RCS templates ms.cc ms.g msImpl.cc msImpl.h aips++.log.table 
- dms.dir('RCS')
RCS UVFitsWriter.h,v makefile,v ms.cc,v ms.g,v ms.help,v msImpl.cc,v templates,v msImpl.h,v UVFitsFiller.cc,v UVFitsFiller.h,v UVFitsWriter.cc,v





next up previous contents index
Next: misc.parentdir - Function Up: misc - Tool Previous: misc.fileexists - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15