Trouble with obstacle avoiding robot

if (frontcm > distanceLimit || frontcm == 0) {
		forward;
	}

"forward;" ?