Control Flow Examples ===================== .. index:: single: examples; control flow single: if elif else single: while single: for If / elif / else ---------------- File: ``examples/if_else.aja`` .. literalinclude:: ../../examples/if_else.aja :language: text While and do-while ------------------ File: ``examples/while.aja`` .. literalinclude:: ../../examples/while.aja :language: text For loop + increment sugar -------------------------- File: ``examples/hooh.aja`` .. literalinclude:: ../../examples/hooh.aja :language: text Const and loop control ---------------------- File: ``examples/map_const.aja`` .. literalinclude:: ../../examples/map_const.aja :language: text