Fortinet Document Library

Version:


Table of Contents

5.3.0
Download PDF
Copy Link

Control structures

The table below lists Lua control structures.

Type Structure

if then else

if condition1 then

elseif condition2 then

else

end

for

Fetch all values of table 't'

for k, v in pairs(t) do

end

Control structures

The table below lists Lua control structures.

Type Structure

if then else

if condition1 then

elseif condition2 then

else

end

for

Fetch all values of table 't'

for k, v in pairs(t) do

end