=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Kan/usage.c,v retrieving revision 1.5 retrieving revision 1.9 diff -u -p -r1.5 -r1.9 --- OpenXM/src/kan96xx/Kan/usage.c 2000/03/09 12:04:52 1.5 +++ OpenXM/src/kan96xx/Kan/usage.c 2002/10/24 05:19:50 1.9 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/Kan/usage.c,v 1.4 2000/02/24 12:33:47 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/Kan/usage.c,v 1.8 2001/08/21 14:12:46 takayama Exp $ */ #include #include "datatype.h" #include "stackm.h" @@ -10,7 +10,7 @@ */ void Kusage(ob) -struct object ob; + struct object ob; { char *s; printf("\n"); @@ -27,11 +27,11 @@ struct object ob; #define fppp fprintf void Kusage2(fp,s) -FILE *fp; -char *s; + FILE *fp; + char *s; { /*int n,i; fprintf(stderr,"\n%d: ",strlen(s)); - for (i=0; i>\n"); fppp(fp,"obj3 is the sum of obj1 and obj2.\n"); @@ -153,6 +153,8 @@ char *s; fppp(fp," [(keywords) ] extension array-of-names-of-primitives \n"); fppp(fp," [(getUniqueFileName) path] extension newName \n"); fppp(fp," [(outputObjectToFile) path obj] extension null \n"); + fppp(fp," [(ostype)] extension list \n"); + fppp(fp," [(regionMatches) string stringArray] extension list \n"); /* fppp(fp," [(asir0) string] extension result-object \n"); */ fppp(fp,"See also plugin-* in ??. \n"); }else if (strcmp(s,"file")==0) { @@ -188,6 +190,8 @@ char *s; fppp(fp," [(lmonom) poly] gbext poly \n"); fppp(fp," [(schreyerSkelton) array_of_poly] gbext array \n"); fppp(fp," [(toes) array_of_poly] gbext poly \n"); + fppp(fp," [(toe_) poly] gbext poly \n"); + fppp(fp," [(toe_) array_of_poly] gbext poly cf. toVectors \n"); fppp(fp," [(isOrdered) poly] gbext poly \n"); }else if (strcmp(s,"get")==0) { fppp(fp,"<< [f0 f1 ... fn] k get fk >>\n"); @@ -233,7 +237,7 @@ char *s; fppp(fp,"Example: 5 2 idiv :: ===> 2\n"); }else if (strcmp(s,"ifelse") == 0) { fppp(fp,"<< condition { true case } { false case } ifelse >>\n"); /*:*/ - /* Tenuki mark --------------^ */ + /* Tenuki mark --------------^ */ fppp(fp,"integer condition;\n"); fppp(fp,"If condition is non-zero, then true-case will be executed,\n"); fppp(fp,"else false-case will be executed.\n"); @@ -472,7 +476,7 @@ char *s; fppp(fp,"file fd; string s;\n"); fppp(fp,"Write the string s to the file fd.\n"); fppp(fp,"cf. [(PrintDollar)] system_variable, file, closefile\n"); -/******* macros ************/ + /******* macros ************/ }else if (strcmp(s,"timer")==0) { fppp(fp,"<< { executable array } timer >>\n"); /*:*/ }else{