%wd is used for the output of integer values.
format |
output for i=123 |
comment |
%wd |
|
minimum width |
%6wd |
ÑÑÑ |
minimum of 6 characters, right justified |
%6.4wd |
ÑÑ |
shows 4 digits, with a leading zero |
%-6wd |
|
left justify |
%06wd |
|
pad with zeros on the left |
%+6wd |
ÑÑ |
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)