Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

gadget-value-type

Generic function

Summary

Returns the type of the gadget value for the specified gadget.

Signature

gadget-value-type gadget => type

Arguments

gadget
An instance of type <value-gadget>.

Values

type
An instance of type <type>.

Library

duim-gadgets

Module

duim-gadgets

Description

Returns the type of the gadget value for gadget.

Example

The following code creates a text field, the contents of which are constrained to be an integer.

*numeric* := contain(make(<text-field>, 
                          value-type: <integer>));

Evaluating the following code confirms the gadget value type to be the class <integer>.

gadget-value-type(*numeric*);

See also

gadget-value, page 585


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index