Decisions, decisions - A new tutorial

I have just uploaded a new tutorial project - TR’s Basics - Decisions. The second in my TR’s Basics series. To quote the first paragraph of its description -

In this pdf document I deal with those constructs that are used for making decisions. That is those constructs that have the keywords if, switch, while and for. This document is intended as a tutorial. It is aimed at anyone who needs to know what is contained within it, but mostly absolute beginners to writing scripts for NwN. Here in the U.K. there is an old saying “A picture is worth a thousand words”. Therefore this tutorial uses diagrams to illustrate what I am describing. These diagrams are based on, but do not necessarily, strictly follow the rules of, flowcharts.

It can be found here.