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

Last change on this file since 679 was 679, checked in by orlov, 18 years ago
  • Some additional tests.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 192 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 0 '0123' 0 '0678'>>;
Note: See TracBrowser for help on using the repository browser.