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


next up previous contents index
Next: rollup - Tool Up: restoreregions - Tool Previous: restoreregions.regions - Function


restoreregions.settable - Function



Package display
Module widgets
Tool restoreregions


Set a (new) table


Synopsis
settable(table)


Arguments

table The table of interest
Allowed: Table tool, image tool or string
Default: ''


Returns
Bool or fail


Description
This function manually (i.e. not via the GUI interface) sets a (new) Table name. It is equivalent to doing it via the GUI.

The Table can be specified in many ways; a Table tool, an Image) tool, the name of a Table (a string) which might be an AIPS++ image, or the name of a Glish symbol which is either a Table or an Image tool.



Example
- include 'restoreregions.g'
- include 'image.g'
- include 'table.g'
- r := restoreregions(table='hcn');
- im := image('hcn2');
- t := table('hcn2');
- r.settable(im);
- r.settable('hcn2');
- r.settable(t);
- r.settable('im');
- r.settable('t');

In this example, we show all the ways you can specify the table.








next up previous contents index
Next: rollup - Tool Up: restoreregions - Tool Previous: restoreregions.regions - 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