source: git/Tst/Manual/link_declarations.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 224 bytes
Line 
1LIB "tst.lib"; tst_init();
2  link l=":w example.txt";
3  int i=22;          // cf. ASCII links for explanation
4  string s="An int follows:";
5  write(l,s,i);
6  l;
7  close(l);          //
8  read(l);
9  close(l);
10tst_status(1);$
Note: See TracBrowser for help on using the repository browser.