hm_getint

Get an integer value using a dialog.

Syntax

hm_getint ?label? ?title? ?default_value?

Type

HyperMesh Tcl GUI Command

Description

This command returns an integer value by providing you with a dialog.

Inputs

?label?
The entry label. Default is “Value =”.
?title?
The dialog title. Default is “Enter an integer value…”. label must be specified to use this option.
?default_value?
Optional default integer value in the entry field. title must be specified to use this option.

Example

set count [hm_getint "Count=" "Please specify the count"]

Errors

None.

Version History

2017.1 - Added new optional default_value argument.