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


next up previous contents index
Next: substitute.substitutevar - Function Up: substitute - Tool Previous: substitute.substitute - Function


substitute.substitutename - Function



Package utility
Module misc
Tool substitute


return the value of a variable name


Synopsis
substitutename(name, type, idrec)



Description
If name is the name of a valid Glish variable, the value of the variable is returned as a string. (string values are enclosed in "", vectors are enclosed in []).
When name is a recognized tool (i.e. its type matches), a sequence number is returned as $n. The tool id is added to idrec.



Arguments

name in name of variable to be substituted
type in tool type recognized (default none)
idrec inout record containing id's of substituted tools



Returns
string with value of Glish variable





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