This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
en:compoundstatementprogramsyntax [2016/08/13 12:49] admin created |
en:compoundstatementprogramsyntax [2016/08/13 12:50] admin [Compound Statement] |
||
---|---|---|---|
Line 5: | Line 5: | ||
< | < | ||
total= 0: for t=1 to 10: total = total + t: next t: print "the total of 1 to 10 is " + total | total= 0: for t=1 to 10: total = total + t: next t: print "the total of 1 to 10 is " + total | ||
- | < | + | </code> |
Special care should be taken when including [[if|if/ | Special care should be taken when including [[if|if/ | ||