version 1.29, 2004/07/30 11:21:55 |
version 1.32, 2004/09/11 01:00:42 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/Kan/usage.c,v 1.28 2004/05/13 04:38:28 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/Kan/usage.c,v 1.31 2004/09/05 07:42:43 takayama Exp $ */ |
#include <stdio.h> |
#include <stdio.h> |
#include "datatype.h" |
#include "datatype.h" |
#include "stackm.h" |
#include "stackm.h" |
Line 161 void Kusage2(fp,s) |
|
Line 161 void Kusage2(fp,s) |
|
fppp(fp," [(outputObjectToFile) path obj] extension null \n"); |
fppp(fp," [(outputObjectToFile) path obj] extension null \n"); |
fppp(fp," [(ostype)] extension list \n"); |
fppp(fp," [(ostype)] extension list \n"); |
fppp(fp," [(regionMatches) string stringArray] extension list \n"); |
fppp(fp," [(regionMatches) string stringArray] extension list \n"); |
|
fppp(fp," [(traceClearStack)] extension null \n"); |
|
fppp(fp," [(traceShowStack)] extension str \n"); |
/* fppp(fp," [(asir0) string] extension result-object \n"); */ |
/* fppp(fp," [(asir0) string] extension result-object \n"); */ |
fppp(fp,"See also plugin-* in ??. \n"); |
fppp(fp,"See also plugin-* in ??. \n"); |
}else if (strcmp(s,"file")==0) { |
}else if (strcmp(s,"file")==0) { |
Line 185 void Kusage2(fp,s) |
|
Line 187 void Kusage2(fp,s) |
|
fppp(fp," (see also cancelCoeff) \n"); |
fppp(fp," (see also cancelCoeff) \n"); |
fppp(fp," [(exponents) poly type ] gbext array \n"); |
fppp(fp," [(exponents) poly type ] gbext array \n"); |
fppp(fp," example: type == 0 x,y,Dx,Dy\n"); |
fppp(fp," example: type == 0 x,y,Dx,Dy\n"); |
fppp(fp," type == 1 x,y,h,Dx,Dy,H\n"); |
fppp(fp," type == 1 x,y,Dx,Dy,h,H\n"); |
fppp(fp," type == 2 x,y,Dx,Dy,h --- default.\n"); |
fppp(fp," type == 2 x,y,Dx,Dy,h --- default.\n"); |
fppp(fp," [(grade) poly1 ] gbext integer \n"); |
fppp(fp," [(grade) poly1 ] gbext integer \n"); |
fppp(fp," [(isConstant) poly] gbext bool \n"); |
fppp(fp," [(isConstant) poly] gbext bool \n"); |
Line 212 void Kusage2(fp,s) |
|
Line 214 void Kusage2(fp,s) |
|
fppp(fp,"integer k;"); |
fppp(fp,"integer k;"); |
fppp(fp,"The primitive gets the k-th element of a given array.\n"); |
fppp(fp,"The primitive gets the k-th element of a given array.\n"); |
fppp(fp,"Example: [1 4 3] 1 get :: ---> 4\n"); |
fppp(fp,"Example: [1 4 3] 1 get :: ---> 4\n"); |
|
fppp(fp,"<< ob [k0 k1 ... ] get f >>\n"); |
|
fppp(fp,"It is equivalent to << ob k0 get k1 get ... >>\n"); |
|
fppp(fp,"The primitive get works for array or list.\n"); |
}else if (strcmp(s,"goto")==0) { |
}else if (strcmp(s,"goto")==0) { |
fppp(fp,"<< label goto >>\n"); |
fppp(fp,"<< label goto >>\n"); |
fppp(fp,"literal label;\n"); |
fppp(fp,"literal label;\n"); |