PA_EvalLongint

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_EvalLongint (string) long

ParameterTypeDescription
stringchar *The string to convert in long integer
Function resultlongValue 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


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next