Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | tasking | |
Tool | types |
Any number of types may be included in a composite type. The corresponding arguments are given in either vector string or record form.
The test function typestest demonstrates a list type.
arg | List of arguments | ||
Allowed: | String | ||
types | List of types | ||
Allowed: | String | ||
options | Record of options | ||
Allowed: | Record | ||
name | Name of the composite type | ||
Allowed: | Vector String | ||
names | Names of individual types | ||
Allowed: | Vector String | ||
default | Default values | ||
Allowed: | Region | ||
Default: | unset | ||
dir | Direction of variable | ||
Allowed: | String: 'in'|'inout'|'out' | ||
Default: | 'in' | ||
checkeval | Check eval'ability | ||
Allowed: | Boolean | ||
Default: | T | ||
help | Help string: if unset, help file is used | ||
Allowed: | String | ||
Default: | unset | ||
allowunset | Allow unset values? | ||
Allowed: | Boolean | ||
Default: | F |
# The following defines a list containing two other types: string # and direction. list('Sources', types=['string', 'direction'], names="Source Direction", name='Source', default=[Name='3C273', Direction=dm.direction()], help=['Source name', 'Source direction'], allowunset=T, options=unset);