diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-32F00078-6084-5288-9D3F-9F8D70514799.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-32F00078-6084-5288-9D3F-9F8D70514799.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,58 @@ + + + + + +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