Navigation
Main Page
Random Page
Create a new Page
All Pages
Categories
Administration
File Management
Login/Logout
Language Selection
Your Profile
Create Account
Quick Search
Advanced Search »
Back
History
For loops
'''For''' loops are accessed via the function menu, or the programming functions panel. If you type '''for''' into your worksheet it won't do what you expect. '''ADVICE: Choose it from the Programming palette''' There are two forms of '''for'''. The first is the one that appears when you first press the '''for''' button. It steps the variable through each element of the matrix in the second argument. The ε sign means 'is an element of' [imageauto|For loop method 1|{UP}for/forloop1.jpg|for/forloop1.jpg] For further explanation see the Discussion! The second method is started the same way, but when you enter a comma the '''for''' line changes to the other mode. [imageauto|For loop method 2|{UP}for/forloop2.jpg|for/forloop2.jpg] In order to write longer programs you need to add [[line]]s.
ScrewTurn Wiki
version 2.0.37. Some of the icons created by
FamFamFam
.