[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
<uVar> := LoadValue( nIdRes, cType, uVar )
------------------------------------------------------------------------------
REDEFINE <uVar> ;
[ AS < cType: CHARACTER, NUMERIC, LOGICAL, DATE >] ;
[ RESOURCE <nResID> ]
PARAMETER:
<cType> Is a keyword that determines to which clipper vartype the
retrieved string will be converted
<nResID> Is the numeric constant that identifies the String resource to
be retrieved
RETURNS:
<uVar> is the retrieved resource, in the format specified by <cType>
DESCRIPTION:
This command/function lets you load a string resource from a default
resource file and convert it into any of clippers vartypes.
EXAMPLE:
+--------------------------------------------------------------+
| /* Specify a resource DLL */ |
| SET RESOURCES TO "String.dll" |
| |
| /* Load a copyright sring */ |
| REDEFINE cStr RESOURCE C_COPYRIGHT |
| |
| /* Load a String as num */ |
| REDEFINE nValue AS NUM RESOURCE C_MONEY |
| |
+--------------------------------------------------------------+
SOURCE:
SOURCE\FUNCTIONS\LOADVAL.PRG
See Also:
LoadString
SET RESOURCES TO
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson