diff -r 80ef3a206772 -r 48780e181b38 Symbian3/SDK/Source/GUID-B6088C0A-20AE-5108-A28C-9CA884205493.dita --- a/Symbian3/SDK/Source/GUID-B6088C0A-20AE-5108-A28C-9CA884205493.dita Fri Jul 16 17:23:46 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ - - - - - -Resource initialisation punctuation

A semicolon must follow all member initialisations. For longer, more complicated resources deciding where semicolons must be placed may become confusing. As shown in the following example, array lists are separated by commas and terminated without a semi-colon. Similarly, resources are not terminated by a semi-colon.

RESOURCE DIALOG example_dialog - { - title="Example"; - topsection=DLAY_SECTION - { - control_list= - { - ACLIST - { - butlist_flags=BUTLIST_HORIZONTAL; - rid=R_HCIL_BUTTONS_OK_CANCEL; - }, // array member so comma needed - ACLIST - { - butlist_flags=BUTLIST_HORIZONTAL; - rid=R_HCIL_BUTTONS_OK_CANCEL; - } // last item in array so nothing needed - }; // end of struct member control_list so ‘;’ needed - }; // end of struct member topsection so ‘;’ needed - } // end of resource so nothing needed

The rules to remember are as follows:

Type of entity

Punctuation needed after closing }

resource

nothing

array member (not last one)

,

last array member

nothing

struct member

;

\ No newline at end of file