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


next up previous contents index
Next: quanta.form.xxx - Function Up: quanta - Tool Previous: quanta.setformat - Function


quanta.getformat - Function



Package general
Module quanta
Tool quanta


get current output format


Synopsis
getformat(t)


Arguments

t in type
    Allowed: coded string
    Default: ''


Returns
coded format


Description
getformat returns the current format value set for the different format possibilities. See the setformat function for the different format type descriptions. The known types are:
prec, aprec, tprec, long, lat, len, dtime, elev, auto, vel, freq, dop, unit.



Example
- dq.getformat('prec')
6 
- dq.setformat('prec', 12)	# set precision to 12 significant digits
T 
- dq.getformat('prec')                                             
12 
- dq.getformat('long')
hms





next up previous contents index
Next: quanta.form.xxx - Function Up: quanta - Tool Previous: quanta.setformat - 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-08-01