Basic HTML version of Foils prepared Sept 20 97

Foil 60 Additional Control Flow Constructs II
-- Statement Labels

From Tutorial on PERL Computational Science for Information Age Course CPS616 -- Sept 20 97. by Geoffrey C. Fox,Nancy McCracken,Tom Scavo


1 next, redo and last can jump to labelled statements with commands such as
2 next LABEL1; # or
3 last LABEL2; # or
4 redo LABEL3;
5 LABEL1: This is start of any statement block; # is typical statement label
6 This is typically used to allow you to jump out over several nests of loops

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Sep 21 1997