Quick Quiz #2 - Semicolons

Programming language questions

Quick Quiz #2 - Semicolons

Postby cfbsoftware » Sat Nov 29, 2014 11:03 am

How many semicolons need to be removed from the following code snippet before it will compile? Please post your solution here to give others a chance to think about it first before looking at your answer.
Code: Select all
  IF i = 0 THEN;
     j := 0;
  ELSE;
     j := 1;
  END;
cfbsoftware
 
Posts: 36
Joined: Wed Sep 18, 2013 10:06 pm

Return to Component Pascal

Who is online

Users browsing this forum: No registered users and 0 guests