%wd - Display Integer

%wd is used for the output of integer values.

format

output for i=123

comment

%wd

123

minimum width

%6wd

ÑÑÑ123

minimum of 6 characters, right justified

%6.4wd

ÑÑ0123

shows 4 digits, with a leading zero

%-6wd

123ÑÑÑ

left justify

%06wd

000123

pad with zeros on the left

%+6wd

ÑÑ+123

force a + sign when not negative


Use this format only for displaying formatted text output that does not need to be refreshed when a variable is modified. Otherwise use %`rd in conjunction with the WINDOW_UPDATE@ call. The grave accent makes the %rd (Edit Integer) format a read-only text display box. See also: %wf (Display Real)

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited