Changeset bfff18e in git for Singular/LIB


Ignore:
Timestamp:
May 19, 1999, 1:28:55 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a1c9c024fcfe57d4d7c4505aaef8f489171d67f3
Parents:
45ce793cb374cf63eb4115ae8584390e35f69d82
Message:
*hannes: added missing var in res


git-svn-id: file:///usr/local/Singular/svn/trunk@3042 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    r45ce793 rbfff18e  
    1 // $Id: standard.lib,v 1.29 1999-04-22 08:35:12 obachman Exp $
     1// $Id: standard.lib,v 1.30 1999-05-19 11:28:55 Singular Exp $
    22//////////////////////////////////////////////////////////////////////////////
    33
    4 version="$Id: standard.lib,v 1.29 1999-04-22 08:35:12 obachman Exp $";
     4version="$Id: standard.lib,v 1.30 1999-05-19 11:28:55 Singular Exp $";
    55info="
    66LIBRARY: standard.lib   PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP
     
    414414               //if size(#)>2 a minimal resolution is computed
    415415
     416   string varstr_P = varstr(P);
     417
    416418   //LaScala for the homogeneous case
    417419   if(homog(m)==1)
     
    727729proc sprintf(string fmt, list #)
    728730"USAGE:    sprintf(fmt, ...) fmt string
    729 RETURN:   string 
    730 PURPOSE:  sprintf performs output formatting. The first argument is a format 
    731           control string. Additional arguments may be required, depending on 
    732           the contents of the control string. A series of output characters is 
    733           generated as directed by the control string; these characters are 
     731RETURN:   string
     732PURPOSE:  sprintf performs output formatting. The first argument is a format
     733          control string. Additional arguments may be required, depending on
     734          the contents of the control string. A series of output characters is
     735          generated as directed by the control string; these characters are
    734736          returned as a string. The control string is simply text to be copied,
    735737          except that the string may contain conversion specifications. Do
    736738          'help print:' for a listing of valid conversion specifications.
    737           As an addition to the conversions of 'print', the '%n' and '%2' 
     739          As an addition to the conversions of 'print', the '%n' and '%2'
    738740          conversion specification does not consume an additional argument,
    739741          but simply generates a newline character.
    740 NOTE:     If one of the additional arguments is a list, then it should be 
     742NOTE:     If one of the additional arguments is a list, then it should be
    741743          enclosed once more into a list() command, since passing a list
    742744          as an argument flattens the list by one level.
     
    814816"USAGE:    printf(fmt, ...) fmt string
    815817RETURN:   none
    816 PURPOSE:  printf performs output formatting. The first argument is a format 
    817           control string. Additional arguments may be required, depending on 
    818           the contents of the control string. A series of output characters is 
    819           generated as directed by the control string; these characters are 
    820           displayed (i.e. printed to standard out). 
    821           The control string is simply text to be copied, except that the 
    822           string may contain conversion specifications. 
     818PURPOSE:  printf performs output formatting. The first argument is a format
     819          control string. Additional arguments may be required, depending on
     820          the contents of the control string. A series of output characters is
     821          generated as directed by the control string; these characters are
     822          displayed (i.e. printed to standard out).
     823          The control string is simply text to be copied, except that the
     824          string may contain conversion specifications.
    823825          Do 'help print:' for a listing of valid conversion specifications.
    824           As an addition to the conversions of 'print', the '%n' and '%2' 
     826          As an addition to the conversions of 'print', the '%n' and '%2'
    825827          conversion specification does not consume an additional argument,
    826828          but simply generates a newline character.
    827829
    828 NOTE:     If one of the additional arguments is a list, then it should be 
     830NOTE:     If one of the additional arguments is a list, then it should be
    829831          enclosed once more into a list() command, since passing a list
    830832          as an argument flattens the list by one level.
     
    854856"USAGE:    fprintf(l, fmt, ...) l link; fmt string
    855857RETURN:   none
    856 PURPOSE:  fprintf performs output formatting. The second argument is a format 
    857           control string. Additional arguments may be required, depending on 
    858           the contents of the control string. A series of output characters is 
    859           generated as directed by the control string; these characters are 
     858PURPOSE:  fprintf performs output formatting. The second argument is a format
     859          control string. Additional arguments may be required, depending on
     860          the contents of the control string. A series of output characters is
     861          generated as directed by the control string; these characters are
    860862          written to the link l.
    861           The control string is simply text to be copied, except that the 
    862           string may contain conversion specifications. 
     863          The control string is simply text to be copied, except that the
     864          string may contain conversion specifications.
    863865          Do 'help print:' for a listing of valid conversion specifications.
    864           As an addition to the conversions of 'print', the '%n' and '%2' 
     866          As an addition to the conversions of 'print', the '%n' and '%2'
    865867          conversion specification does not consume an additional argument,
    866868          but simply generates a newline character.
    867869
    868 NOTE:     If one of the additional arguments is a list, then it should be 
     870NOTE:     If one of the additional arguments is a list, then it should be
    869871          enclosed once more into a list() command, since passing a list
    870872          as an argument flattens the list by one level.
     
    890892  fprintf(li, "%b", M);
    891893}
    892  
    893    
    894  
    895  
    896  
     894
     895
     896
     897
     898
    897899
    898900/*
Note: See TracChangeset for help on using the changeset viewer.