Skip to content
User Avatar
#875
Auto-translated
Does anyone know if this structure will work:
if (condition 1) then (instruction 1)
elseif (condition 2) then (instruction 2)
elseif (condition 3) then (instruction 3)
else (condition 4) then (instruction 4)

In other words, can you use if-elseif-else to write more than three conditions,
or am I misunderstanding the language, and can everything be done more simply?:confused:

All manuals seem to limit this structure to a maximum of three conditions, and I don't know if there's something like Pascal's case of here.