Tags:
tag this topic
create new tag
view all tags
---+ .CONVERT BYTES TO HEX _This subroutine converts a field to hexidecimal characters._ <br />%TOC% ---++ Usage: <pre> PASS <hex_result> FIELD SHARE? Y PASS <data> FIELD SHARE? N PASS <no_chars> FIELD SHARE? N GOSUB --- .CONVERT BYTES TO HEX * Check for errors IF --- .CONVERT BYTES TO HEX NE </pre> ---++ Description: This subroutine converts a field to hexidecimal characters. The first 2 parameters are required, the <no_chars> is optional. If any required parameters are missing, the subroutine will CANCEL. <hex_result> returns the hexidecimal characters corresponding to the data in <data> (Required). This must be PASSed Share "Y" to return the value. <data> is the data you want converted to hexidecimal (Required). <no_chars> is the number of characters of <data> to convert (Optional). If not PASSed, it will default to the length of <data>. If <data> is not a simple alpha field, it will converted to a simple alpha field first (according to the rules of the SET statement), then that will be converted to hexidecimal. If <hex_result> is not large enough to contain the result, --- .CONVERT BYTES TO HEX will contain 'Data was truncated'. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2012-02-03
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 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