source: git/Tst/Old/execut.tst @ 7bb71fa

spielwiese
Last change on this file since 7bb71fa was 7bb71fa, checked in by Hans Schönemann <hannes@…>, 24 years ago
* hannes: execute git-svn-id: file:///usr/local/Singular/svn/trunk@4323 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 368 bytes
Line 
1//
2// test script for execute command
3//
4pagelength = 10000;
5ring r1=32003,(x,y,z),dp;
6r1;
7"-------------------------------";
8ideal j=x+y,z4+23y;
9system("sh","/bin/rm -f save_j");
10write("save_j",j);
11ring r2=0,(x,y,z),Dp;
12string s="ideal k="+read("save_j")+";";
13execute(s);
14k;
15"-------------------------------";
16listvar(all);
17kill r1,r2;
18LIB "tst.lib";tst_status(1);$;
Note: See TracBrowser for help on using the repository browser.