%il - Integer Limit

Purpose

To specify the lower and upper limits for subsequent %rd (Edit Integer) formats.

Syntax

winio@('%il', lowerupper)
winio@('%`il')
integer lowerupper     (input)

Modifiers

Grave accent (%`il) - cancels an earlier %il and restores the limits to the minimum and maximum for the data type.

Tilde (%~il) - the limits are not applied to the displayed %rd integer value but (on error) an alert icon appears and the text colour changes to red. The associated %rd (Edit Integer) variable is the same as when not using the tilde (the value is set at the lower or upper limit).

Description

lower is the lower limit and upper is the upper limit.

Example

winio@('%il', 0L, 10L)

See also

%rd (Edit Integer), %dd (Spin for Integer), %co[check_on_focus_loss], SET_INTEGER_LIMITS@

 

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited