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


next up previous contents index
Next: dish.dcbase - Function Up: dish - Tool Previous: dish.clip - Function


dish.copy - Function



Package dish
Module dish
Tool dish


Copy a variable in the global record to another location


Synopsis
copy(fromhere, tohere)


Description
This function copies a named variable in the global record to another variable name. For example, this can be used to copy the contents of offscan1 into the globalscan1 record.



Arguments

fromhere   Current variable name
    Allowed: string
    Default: no default
tohere   Desired variable name
    Allowed: string
    Default: no default


Returns
Bool


Example
- d.uniput('echan',100);
- d.upr('echan')
echan  =  100
- d.copy('echan','emoment')
- d.upr('emoment')
emoment  =  100





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