source: to-imperative/trunk/samples/Vector/mem.rf @ 1204

Last change on this file since 1204 was 1204, checked in by sveta, 17 years ago
  • Test for Vector::= (memory bugs).
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 284 bytes
Line 
1$use Vector;
2$use StdIO;
3
4Main  = <Vector> :: s1,
5        <Vector-Init s1 5 ('DDD')>
6        <PrintLN "Vector-Init = " <Vector-To-Exp s1>> 
7        <Vector-Replace s1 ('ABC') s1  >
8        <PrintLN "\n Length=" <Vector-Length s1>>
9        <PrintLN "Replace = " <Vector-To-Exp s1>>;
10 
Note: See TracBrowser for help on using the repository browser.