Changeset b45d97 in git


Ignore:
Timestamp:
Apr 17, 1999, 2:30:24 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
a79a12873c307b35db5462af26c49d5b594af644
Parents:
458bd67f21def86763df6137584fe9c0d9fa9a66
Message:
more StringAppendS


git-svn-id: file:///usr/local/Singular/svn/trunk@2989 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • Singular/clapsing.cc

    r458bd6 rb45d97  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 // $Id: clapsing.cc,v 1.48 1999-03-15 16:18:51 Singular Exp $
     5// $Id: clapsing.cc,v 1.49 1999-04-17 12:30:16 Singular Exp $
    66/*
    77* ABSTRACT: interface between Singular and factory
     
    133133  StringSetS( tag ); \
    134134  napWrite( f ); \
    135   PrintS(StringAppend("\n"));
     135  PrintS(StringAppendS("\n"));
    136136// CanonicalForm f, represents transcendent extension
    137137#define FACTORY_CFTROUT_POLY( tag, f ) \
     
    140140    StringSetS( tag ); \
    141141    napWrite( F ); \
    142     PrintS(StringAppend("\n")); \
     142    PrintS(StringAppendS("\n")); \
    143143    napDelete( &F ); \
    144144  }
     
    149149    StringSetS( tag ); \
    150150    napWrite( F ); \
    151     PrintS(StringAppend("\n")); \
     151    PrintS(StringAppendS("\n")); \
    152152    napDelete( &F ); \
    153153  }
     
    609609        //#ifdef LDEBUG
    610610        //number cn=(number)c;
    611         //StringSet(""); nWrite(nt); StringAppend(" ==> ");
    612         //nWrite(cn);PrintS(StringAppend("\n"));
     611        //StringSet(""); nWrite(nt); StringAppendS(" ==> ");
     612        //nWrite(cn);PrintS(StringAppendS("\n"));
    613613        //#endif
    614614      }
     
    928928    if (i<offs)
    929929    {
    930       StringAppend(currRing->parameter[i]);
     930      StringAppendS(currRing->parameter[i]);
    931931    }
    932932    else
    933933    {
    934       StringAppend(currRing->names[i-offs]);
     934      StringAppendS(currRing->names[i-offs]);
    935935    }
    936936    Li++;
    937937    cnt--;
    938938    if(cnt==0) break;
    939     StringAppend(",");
     939    StringAppendS(",");
    940940    if(! Li.hasItem()) break;
    941941  }
     
    946946      if (i<offs)
    947947      {
    948         StringAppend(currRing->parameter[i]);
     948        StringAppendS(currRing->parameter[i]);
    949949      }
    950950      else
    951951      {
    952         StringAppend(currRing->names[i-offs]);
     952        StringAppendS(currRing->names[i-offs]);
    953953      }
    954954      cnt--;
    955955      if(cnt==0) break;
    956       StringAppend(",");
    957     }
    958   }
    959   return mstrdup(StringAppend(""));
     956      StringAppendS(",");
     957    }
     958  }
     959  return mstrdup(StringAppendS(""));
    960960#else
    961961  return NULL;
  • Singular/intvec.cc

    r458bd6 rb45d97  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: intvec.cc,v 1.11 1999-04-16 07:53:33 obachman Exp $ */
     4/* $Id: intvec.cc,v 1.12 1999-04-17 12:30:17 Singular Exp $ */
    55/*
    66* ABSTRACT: class intvec: lists/vectors of integers
     
    112112      if (j+1<row)
    113113      {
    114         if (dim > 1) StringAppend("\n");
     114        if (dim > 1) StringAppendS("\n");
    115115        if (spaces>0) StringAppend("%-*.*s",spaces,spaces," ");
    116116      }
    117117    }
    118118  }
    119   return StringAppend("");
     119  return StringAppendS("");
    120120}
    121121
  • Singular/ipprint.cc

    r458bd6 rb45d97  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipprint.cc,v 1.8 1998-11-16 08:41:17 Singular Exp $ */
     4/* $Id: ipprint.cc,v 1.9 1999-04-17 12:30:18 Singular Exp $ */
    55/*
    66* ABSTRACT: interpreter: printing
     
    9797    {
    9898      pString(m->m[i]);
    99       ss=StringAppend(",");
     99      ss=StringAppendS(",");
    100100      if ((int)strlen(ss)>colmax) s[i]=NULL;
    101101      else                        s[i]=mstrdup(ss);
  • Singular/ipshell.cc

    r458bd6 rb45d97  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipshell.cc,v 1.39 1999-04-16 07:53:38 obachman Exp $ */
     4/* $Id: ipshell.cc,v 1.40 1999-04-17 12:30:18 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    506506      pString0(*pp++);
    507507      s=StringAppend("%c",ch);
    508       if (dim > 1) s = StringAppend("\n");
     508      if (dim > 1) s = StringAppendS("\n");
    509509    }
    510510  }
  • Singular/longalg.cc

    r458bd6 rb45d97  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: longalg.cc,v 1.30 1999-03-08 18:11:47 Singular Exp $ */
     4/* $Id: longalg.cc,v 1.31 1999-04-17 12:30:20 Singular Exp $ */
    55/*
    66* ABSTRACT:   algebraic numbers
     
    764764      else if (nacIsMOne(p->ko))
    765765      {
    766         StringAppend("-");
     766        StringAppendS("-");
    767767      }
    768768      int  i;
     
    775775          else
    776776            wroteCoeff=(pShortOut==0);
    777           StringAppend(naParNames[i]);
     777          StringAppendS(naParNames[i]);
    778778          if (p->e[i] > 1)
    779779          {
  • Singular/longrat0.cc

    r458bd6 rb45d97  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: longrat0.cc,v 1.6 1998-05-27 17:14:08 Singular Exp $ */
     4/* $Id: longrat0.cc,v 1.7 1999-04-17 12:30:21 Singular Exp $ */
    55/*
    66* ABSTRACT -
     
    117117  else if (a==NULL)
    118118  {
    119     StringAppend("o");
     119    StringAppendS("o");
    120120  }
    121121#endif
     
    133133    s=(char*)Alloc(l);
    134134    z=mpz_get_str(s,10,&a->z);
    135     StringAppend(z);
     135    StringAppendS(z);
    136136    if (a->s!=3)
    137137    {
    138       StringAppend("/");
     138      StringAppendS("/");
    139139      z=mpz_get_str(s,10,&a->n);
    140       StringAppend(z);
     140      StringAppendS(z);
    141141    }
    142142    Free((ADDRESS)s,l);
  • Singular/misc.cc

    r458bd6 rb45d97  
    683683          }
    684684        }
    685         PrintTCLS('O',StringAppend(""));
     685        PrintTCLS('O',StringAppendS(""));
    686686        StringSet("");
    687687      }
     
    735735      }
    736736    }
    737     return mstrdup(StringAppend(""));
     737    return mstrdup(StringAppendS(""));
    738738  }
    739739  else
    740     return mstrdup(StringAppend(" none"));
     740    return mstrdup(StringAppendS(" none"));
    741741}
    742742
     
    797797#endif
    798798#ifdef MTRACK
    799               StringAppend("MTRACK,");
     799              StringAppendS("MTRACK,");
    800800#endif
    801801#ifdef PDEBUG
    802               StringAppend("PDEBUG,");
     802              StringAppendS("PDEBUG,");
    803803#endif
    804804#ifdef KDEBUG
    805               StringAppend("KDEBUG,");
     805              StringAppendS("KDEBUG,");
    806806#endif
    807807#ifdef TEST_MAC_ORDER
     
    810810#ifndef __OPTIMIZE__
    811811#ifdef __MWERKS__
    812               StringAppend(" Codewarrior 2.0,");
     812              StringAppendS(" Codewarrior 2.0,");
    813813#else
    814               StringAppend("-g,");
     814              StringAppendS("-g,");
    815815#endif
    816816#endif
  • Singular/ring.cc

    r458bd6 rb45d97  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.50 1999-04-16 07:53:41 obachman Exp $ */
     4/* $Id: ring.cc,v 1.51 1999-04-17 12:30:23 Singular Exp $ */
    55
    66/*
     
    687687    {
    688688      StringSetS("//   minpoly        : ");
    689       nfShowMipo();PrintS(StringAppend("\n"));
     689      nfShowMipo();PrintS(StringAppendS("\n"));
    690690    }
    691691  }
  • Singular/silink.cc

    r458bd6 rb45d97  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: silink.cc,v 1.26 1998-12-03 11:02:38 obachman Exp $ */
     4/* $Id: silink.cc,v 1.27 1999-04-17 12:30:24 Singular Exp $ */
    55
    66/*
     
    736736      StringSetS("");
    737737      nWrite(IDRING(h)->minpoly);
    738       rhs = StringAppend("");
     738      rhs = StringAppendS("");
    739739      if (fprintf(fd, "; minpoly = %s", rhs) == EOF) return EOF;
    740740    }
  • Singular/subexpr.cc

    r458bd6 rb45d97  
    699699            nDelete(&n);
    700700          }
    701           s = StringAppend("");
     701          s = StringAppendS("");
    702702          break;
    703703        case MATRIX_CMD:
Note: See TracChangeset for help on using the changeset viewer.