source: to-imperative/trunk/samples/Syntax/trap3.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
  • Property svn:keywords set to Author Date Id Revision
File size: 121 bytes
Line 
1$use StdIO;
2
3$func F = t;
4
5F =
6  $trap {
7    XXX;
8  }
9  $with {
10    e = YYY;
11  };
12
13$func Main = e;
14Main = <PrintLn <F>>;
Note: See TracBrowser for help on using the repository browser.