Tags:
tag this topic
create new tag
view all tags
---+ .CONVERT NUM TO HEX PR _This subroutine converts a decimal number to a hex pair of alpha characters._ <br />%TOC% ---++ Usage: <pre> PASS <hex pair> FIELD SHARE? Y PASS <decimal_number> FIELD SHARE? N GOSUB --- .CONVERT NUM TO HEX PR * Check for errors IF --- .CONVERT NUM TO HEX PR NE </pre> ---++ Description: This subroutine converts a number to a hex pair of alpha characters. Both parameters are required, the subroutine will CANCEL if they are not PASSed. <hex_pair> returns the hexidecimal equivalent of <decimal_number> (Required). This must be PASSed with Share "Y" to return the result. <decimal_number> is the value you want converted (Required). This be an integer in the range 0-255. If you want to convert a string of characters to hexidecimal, see [[0LASubrConvertBytesToHex][.CONVERT BYTES TO HEX]]. To convert a hexidecimal number to decimal, see [[0LASubrConvertHexPrToNum][.CONVERT HEX PR TO NUM]]. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.PeteBrower - 2011-08-12
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r3 - 2012-02-10
-
JeanNeron
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback