source: to-imperative/trunk/samples/Class/digit_q.rf @ 2470

Last change on this file since 2470 was 981, checked in by luba, 18 years ago
  • renamed tests for renamed functions
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 278 bytes
Line 
1$use StdIO Class;
2
3Main = { <Digit? '3'>;
4         <PrintLN 'fail'>;
5       },
6   
7       { <Digit? 23>;
8         <PrintLN 'fail: argument is not of symbol type'>;
9       },
10       { <Word? '2' '3'>;
11         <PrintLN 'fail: argument is more than one expression'>;
12       };
13
14
15
Note: See TracBrowser for help on using the repository browser.