source: to-imperative/trunk/samples/Syntax/trap8.rf @ 4085

Last change on this file since 4085 was 4026, checked in by orlov, 12 years ago
  • Tests for $trap...$with construction.
  • Property svn:eol-style set to native
File size: 116 bytes
Line 
1$use StdIO System;
2
3$func Main = e;
4Main = {
5  { $trap <PrintLn XXX> $with { e = $fail; }; }, ;
6  <PrintLn YYY>;
7};
Note: See TracBrowser for help on using the repository browser.