View previous topic :: View next topic |
Author |
Message |
Wilfried Linder
Joined: 14 Nov 2007 Posts: 314 Location: Düsseldorf, Germany
|
Posted: Tue May 13, 2008 10:18 am Post subject: HEX output |
|
|
Hi, according to the Clearwin manual, the grave accent modifies %wx to give uppercase output:
i = 100
j = winio@('%ca[HEX output]%sy[3d_thin]%fn[MS SANS SERIF]%ts%ff%`wx',.9D0,i)
Starting this I get a runtime error "Unexpected use of character `in WX format".
Can anyone help me?
Regards,
Wilfried |
|
Back to top |
|
|
IanLambley
Joined: 17 Dec 2006 Posts: 490 Location: Sunderland
|
Posted: Tue May 13, 2008 12:02 pm Post subject: |
|
|
Hi,
Don't use the grave accent. That is only useful when formats such as %rs %rd %rf are used to make them un alterable by the user. If you need to alter the displayed value, in hex, then write the value to a character string with typical format z8.8 and output it to a %`rs control.
Regards
Ian |
|
Back to top |
|
|
Wilfried Linder
Joined: 14 Nov 2007 Posts: 314 Location: Düsseldorf, Germany
|
Posted: Tue May 13, 2008 12:49 pm Post subject: |
|
|
OK, Ian, that's an option, thanks.
Regards,
Wilfried |
|
Back to top |
|
|
|