spielwiese
Last change
on this file since 7bb71fa was
7bb71fa,
checked in by Hans Schönemann <hannes@…>, 23 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 | // |
---|
4 | pagelength = 10000; |
---|
5 | ring r1=32003,(x,y,z),dp; |
---|
6 | r1; |
---|
7 | "-------------------------------"; |
---|
8 | ideal j=x+y,z4+23y; |
---|
9 | system("sh","/bin/rm -f save_j"); |
---|
10 | write("save_j",j); |
---|
11 | ring r2=0,(x,y,z),Dp; |
---|
12 | string s="ideal k="+read("save_j")+";"; |
---|
13 | execute(s); |
---|
14 | k; |
---|
15 | "-------------------------------"; |
---|
16 | listvar(all); |
---|
17 | kill r1,r2; |
---|
18 | LIB "tst.lib";tst_status(1);$; |
---|
Note: See
TracBrowser
for help on using the repository browser.