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


next up previous contents index
Next: types.choice - Function Up: types - Tool Previous: types.direction - Function


types.quantity - Function



Package utility
Module tasking
Tool types


Define a quantity


Synopsis
quantity(arg, default, dir, checkeval, help, options, allowunset)


Description
The type of the quantity is fixed on construction. It is determined by the type of the default, or if that is unset, from the options string.



Arguments

arg   List of arguments
    Allowed: String
default   Default value
    Allowed: Quantity
    Default: '0deg'
dir   Direction of variable
    Allowed: String: 'in'|'inout'|'out'
    Default: 'in'
checkeval   Check eval'ability
    Allowed: Boolean
    Default: T
help   Help string: if unset, help file is used
    Allowed: String
    Default: unset
options   Default type
    Allowed: Vector of strings
    Default: angle|time|flux|unnormalizedfluxdensity|vel|long|lat|len|temp|freq
allowunset   Allow unset values?
    Allowed: Boolean
    Default: F




next up previous contents index
Next: types.choice - Function Up: types - Tool Previous: types.direction - 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