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.set - Function Up: itemcontainer - Tool Previous: itemcontainer.torecord - Function


itemcontainer.fromrecord - Function



Package utility
Module misc
Tool itemcontainer


Add the fields of this record


Synopsis
fromrecord()


Returns
Bool



Description

This tool function makes one item per field in the supplied record.



Example
- const fish := itemcontainer();
- rec := [=];
- rec.types := "salmon trout gold";
- rec.fish1 := 'trout';
- rec.fish2 := 'salmon';
- fish.fromrecord(rec);
T
- fish.names();
types fish1 fish2
- fish.torecord();
[types=salmon trout gold, fish1=trout, fish2=salmon]





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