diff -r 80ef3a206772 -r 48780e181b38 Symbian3/SDK/Source/GUID-32F00078-6084-5288-9D3F-9F8D70514799.dita --- a/Symbian3/SDK/Source/GUID-32F00078-6084-5288-9D3F-9F8D70514799.dita Fri Jul 16 17:23:46 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ - - - - - -RESOURCE -statement -<resource-statement> -resource-statement ::= -RESOURCE <struct-name> [ <resource-name> ] { <resource-initialiser-list> } -

The RESOURCE statement is used to generate a resource -in the resource file. The statement specifies three things:

- -

As an example, given the struct definition

STRUCT NCEDIT - { - WORD current; - WORD low; - WORD high=65535; - }

you could define a resource:

RESOURCE NCEDIT memory_size - { - low=640; - high=1024; - }

Thus, in the resource file, current has -the value compiler default value of 0, low has the value -640 (specified in the resource definition) and high has the -value 1024 (specified in the resource definition, overriding the default for -the struct type).

-
\ No newline at end of file