Menu GetNum

From Wiki
Revision as of 06:10, 23 September 2005 by Boydon (Talk | contribs) (Applying templates (header, body, footer))

Jump to: navigation, search


Synopsis

menu Font GetNum {name} {default}

Description

The menu GetNum command returns the number in an edit field in the EasyUO menu window in the #menuRes system variable. If the edit field does not hold a number, the default value is returned.


Example

; This will save the text in the edit field named edit_1 into the
; variable #menuRes. If the field is blank it will save 144 into
; the variable #menuRes. This will only work for edit field items.
; #menuRes will return as a number.
menu GetNum edit_1 144

See also

Main Page Documentation