6 7 LceASCIIToInteger

LANSA Open Guide

6.7 LceASCIIToInteger

Converts a string containing numerics into a long integer number.

VOID

LceASCIIToInteger

(char far * 

strNumericString,

 

 

 Long far *

pVal )

  

Parameters

strNumericString

The source string containing the numeric value.

pVal

Points to the long integer in which the value is to be returned.

  

Return Values

No return value

Notes

LceASCIIToInteger is to be used when the development tool you are using does not provide the necessary conversion routines.

Most languages provide some type of conversion routine and it is recommended that you use the one provided by the application tool with which you are programming. Do not use this function if other routines are available.

For C application developers, this function is unnecessary since the standard C libraries supply conversion routines between strings and numeric variables.

  • This function can be called at any time.