If conditional expression then Begin instructions ... End; {if more than one action is required} Note that you should not use an assignment statement in the 'if' construct, otherwise the compiler will raise a syntax error. I.e.: Wrong:
หากการแสดงออกโดยมีเงื่อนไขแล้วจึงเริ่มขั้นตอน สิ้นสุด{หากใช้มากกว่าหนึ่งจำเป็นต้องดำเนินการใดๆ} โปรดทราบว่าคุณไม่ควรใช้งบการกำหนดที่อยู่ใน'ถ้า'สร้างเป็นอย่างอื่นเช่นคอมไพเลอร์ที่จะยกระดับไวยากรณ์ผิดพลาดที่ I . E .: ไม่ถูกต้อง: