Conditional structures: Difference between revisions
Content deleted Content added
PatGarrett (talk | contribs) |
PatGarrett (talk | contribs) m →{{header|ALGOL 60}}: Superfluous blanks suppressed |
||
Line 263: | Line 263: | ||
OUTINTEGER(1,J) |
OUTINTEGER(1,J) |
||
'END'</lang> |
'END'</lang> |
||
Algol 60 has also a switch structure |
Algol 60 has also a switch structure: |
||
declaration::= '''switch''' switch:=list_of labels |
declaration::= '''switch''' switch:=list_of labels |
||
statement::= '''goto''' switch[expression] |
statement::= '''goto''' switch[expression] |