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


next up previous contents index
Next: catalog.summary - Function Up: catalog - Tool Previous: catalog.edit - Function


catalog.create - Function



Package utility
Module catalog
Tool catalog


Create


Synopsis
create(file, type, refreshgui)


Description
Create a file using the appropriate method:
  • the default editor for ascii and Glish files
  • the unix command mkdir for Directories
You can change the editor Glish, and ascii files via the aipsrc mechanism: e.g. add the following to your .aipsrc file
catalog.edit.Glish:	xterm -e vi
catalog.edit.ascii:	emacs



Arguments

file in File to be created
    Allowed: String
type in Type of file to be created
    Allowed: ascii|Glish|Directory
refreshgui in Refresh the GUI?
    Allowed: Bool
    Default: T


Returns
Bool


Example
  dc.create("3C273.g")





next up previous contents index
Next: catalog.summary - Function Up: catalog - Tool Previous: catalog.edit - 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