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


next up previous contents index
Next: itemcontainer.add - Function Up: itemcontainer - Tool Previous: itemcontainer.fromrecord - Function


itemcontainer.set - Function



Package utility
Module misc
Tool itemcontainer


Put the named item into the container


Synopsis
set(item, value)


Arguments

item   Item name
    Allowed: String
value   Item
    Allowed: Any


Returns
Bool



Description

This tool function puts the specified item into the container with the given name.



Example
- include 'quanta.g';
T
- const i1 := itemcontainer();
- i1.set('type', 'boxcar');
T
- i1.set('width', dq.quantity(10,'arcsec'));
T





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