PA_Dial4DGetReal

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

version 2003


PA_Dial4DGetReal (dialog; variable) double

ParameterTypeDescription
dialogPA_Dial4DDialog reference
variablechar*Name of the variable to access
Function resultdoubleValue of variable

Description

The routine PA_Dial4DGetReal gets the value of a variable whose name is variable and returns its value as a double. This command is preferred to the PA_Dial4DGetVariable call because it handles the type casting for the developer.

By default, variable needs to be a null terminated C string. If you have previously called PA_UsePStrings, you must pass a Pascal string to the command.

By default, varName needs to use Macintosh characters set on Macintosh, and ANSI characters set under Windows. You can call PA_UseMacCharacters or PA_UseAnsiCharacters to use specifically Macintosh or ANSI characters.

See Also

PA_Dial4DSetReal.

Error Handling

None.


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