Error-Cond Line-Ref

From BR Wiki
Revision as of 18:30, 18 July 2013 by Laura (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The "error-cond line-ref" parameter is replaced with one or more pairs of specifications. "Error-cond" is a specific error condition and "line-ref" is a line number or line label to which control should be transferred if that error occurs. See Error Conditions for more information.

For example:

...EOF donereading...

When the program runs this statement and comes to an End of File error, it will transfer to the line labeled "donereading".