Silverfrost Logo About Us | Contact Us
 

%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 format a read-only text display box.

 

 

Copyright © 1999-2017 Silverfrost Limited