Understanding while loop UndedVarError and scope

3 posts were split to a new topic: Tangent about Thailand