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.substitutename - Function Up: substitute - Tool Previous: substitute - Tool


substitute.substitute - Function



Package utility
Module misc
Tool substitute


substitute Glish variables and expressions


Synopsis
substitute(string, type, startseqnr, idrec)



Description
It analyzes a string and substitutes embedded Glish variables and expressions by their value as explained in the general description. If var is a valid Glish variable, $var is substituted by its value. If expr is a valid Glish expression, $(expr) is substituted by the result of the expression.



Arguments

string in string to be analyzed
type in tool type recognized (default none)
startseqnr in first sequence number to use for substituted tools
idrec out record containing id's of substituted tools



Returns
input string with appropriate parts substituted





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