source: to-imperative/trunk/samples/Syntax/block6.rf

Last change on this file was 4085, checked in by yura, 11 years ago
  • To new syntax. Three files are have errors still.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 194 bytes
Line 
1$use StdIO;
2
3$func F s = s;
4F s1 = s1;
5
6$func Main = e;
7Main =
8  <WriteLn A { B; } C>,
9  <WriteLn A { B <F 1>; } C>,
10  <WriteLn A { <F 1> <F 2>; } C>,
11  <WriteLn A ({ <F 1>; }) ({ <F 2>; }) C>;
Note: See TracBrowser for help on using the repository browser.