PA_Dial4DGetReal


version 2003


PA_Dial4DGetReal (dialog; variable) → double

Parameter Type Description
dialog PA_Dial4D Dialog reference
variable char* Name of the variable to access
Function result double Value 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.