source: to-imperative/trunk/samples/Convert/to_int.rf @ 741

Last change on this file since 741 was 741, checked in by luba, 18 years ago
  • tests with expression consisting of one word are added
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 279 bytes
Line 
1$use Convert;
2$use StdIO;
3
4Main =
5  <PrintLN <To-Int +32 006>>,
6  <PrintLN <To-Int -6 36>>,
7  <PrintLN <To-Int '-12' 34>>,
8  <PrintLN <To-Int '+326'>>,
9  <PrintLN <To-Int "+326">>,
10  <PrintLN <To-Int "326">>,
11  <PrintLN <To-Int "-326">>,
12  <PrintLN <To-Int 0 '0123' 0 '0678'>>;
Note: See TracBrowser for help on using the repository browser.