Proper structure syntax for Pascal if then begin end and ;
问题 It has been around 20 years since I last had to write in Pascal. I can\'t seem to use the structure elements of the language correctly where I am nesting if then blocks using begin and end . For example this gets me an Compiler Error \"Identifier Expected\" . procedure InitializeWizard; begin Log(\'Initialize Wizard\'); if IsAdminLoggedOn then begin SetupUserGroup(); SomeOtherProcedure(); else begin (*Identifier Expected*) Log(\'User is not an administrator.\'); msgbox(\'The current user is