Overview

The general form of a procedural if statement is:

if condition then code [elif condition then code]... [else code] end

For example:

A = 1. 
if A == 1 then 
    _print "This is great!\n". 
elif 3 == 4 then
    _print "This is abnormal!\n". 
else 
    _print "This is unexpected!\n". 
end

Expected output:

This is great!