---+ .CONVERT NUM TO HEX PR _This subroutine is called to convert a decimal integer into a hex pair within an alpha field._ <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 must be passed a valid hex pair in the range of 00 to FF. Upper and lower case is accepted. *<hex_pair>* identifies the field to return the hex pair result back into. Passing this parameter is required. *<decimal_number>* Identifies the field or literal value that represents the decimal value to be converted. This must contain valid numeric characters. Passing this parameter is required. This subroutine sets a result value in the corresponding results Token field. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.PeteBrower - 2011-08-12
This topic: Main
>
WebHome
>
APPX510Features
>
APPXRuntimeSubroutineAPI
>
0LASubrConvertNumToHexPr
Topic revision: r1 - 2011-08-12 - PeteBrower
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback