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

Last change on this file since 757 was 757, checked in by luba, 18 years ago
  • test for To_m_Int function is added
  • tests in to_int2.rf are corrected
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 309 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'>>,
13  <PrintLN <To-Int  '  7  '>>;
Note: See TracBrowser for help on using the repository browser.