Changeset 53bb688 in git for Singular/extra.cc
- Timestamp:
- Jun 8, 1998, 1:09:39 PM (26 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 5d13bc042002355528aed03319748eb38cd2aca4
- Parents:
- 84c4718ded5fe98bf8773067260f6b654941baca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r84c471 r53bb688 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.5 2 1998-06-03 14:25:39 pohlExp $ */4 /* $Id: extra.cc,v 1.53 1998-06-08 11:09:39 krueger Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 51 51 52 52 // Define to enable many more system commands 53 // 53 //#define HAVE_EXTENDED_SYSTEM 54 54 55 55 #ifdef STDTRACE … … 86 86 87 87 void piShowProcList(); 88 static BOOLEAN EXTENDED_SYSTEM(leftv res, leftv h); 89 88 90 89 91 //void emStart(); … … 360 362 return FALSE; 361 363 } 364 else 365 { 366 #ifdef HAVE_EXTENDED_SYSTEM 367 /*================= Extended system call ========================*/ 368 return(EXTENDED_SYSTEM(res, h)); 369 #else 370 WerrorS( feNotImplemented ); 371 #endif 372 } 373 } /* typ==string */ 374 return TRUE; 375 } 376 377 378 362 379 #ifdef HAVE_EXTENDED_SYSTEM 363 380 // You can put your own system calls here 381 #include "fglmcomb.cc" 382 #include "fglm.h" 383 static BOOLEAN EXTENDED_SYSTEM(leftv res, leftv h) 384 { 385 if(h->Typ() == STRING_CMD) 386 { 364 387 /*==================== LaScala ==================================*/ 365 388 if(strcmp((char*)(h->Data()),"LaScala")==0) … … 593 616 if(strcmp((char*)(h->Data()),"fastcomb")==0) 594 617 { 595 #include "fglmcomb.cc"596 #include "fglm.h"597 618 if ((h->next!=NULL) &&(h->next->Typ()==IDEAL_CMD)) 598 619 { … … 616 637 if(strcmp((char*)(h->Data()),"comb")==0) 617 638 { 618 #include "fglmcomb.cc"619 #include "fglm.h"620 639 if ((h->next!=NULL) &&(h->next->Typ()==IDEAL_CMD)) 621 640 { … … 799 818 else 800 819 #endif 801 #endif // HAVE_EXTENDED_SYSTEM802 /*============================================================*/803 820 WerrorS( feNotImplemented ); 804 821 } 805 822 return TRUE; 806 823 } 824 #endif // HAVE_EXTENDED_SYSTEM 825 /*============================================================*/
Note: See TracChangeset
for help on using the changeset viewer.