Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | misc | |
Tool | itemcontainer |
showdeleted | yes or no | ||
Allowed: | Bool | ||
Default: | F |
This tool function recovers the contents of the container into a record where each item has its own named (or numbered) field. If showdeleted is T, even ``illegal'' fields are copied.
- const fish := itemcontainer(); - fish.set('types', "salmon trout gold"); T - fish.set('fish1', 'trout'); T - fish.add('salmon'); 3 - x := fish.torecord(); - x [types=salmon trout gold, fish1=trout, *1=salmon] - is_record(x); T