PA_EvalLongint


version 2003


PA_EvalLongint (string) → long

Parameter Type Description
string char * The string to convert in long integer
Function result long Value of the converted string

Description

The routine PA_EvalLongint returns the value string once converted to a long integer.

This works like the Num 4th Dimension function. Refer to the 4D Language Reference manual for more information.

Depending on default settings or on previous calls to PA_UsePStrings or PA_UseCStrings , string must be a Pascal or a C string.

Example

   long   result;
   result = PA_EvalLongint("123456");// result is now 123456

See Also

Num , PA_EvalReal .

Error Handling

PA_GetLastError

always returns eER_NoErr