![]() ![]() | ![]() |
File: [local] / OpenXM / src / asir-doc / int-parts / datatype / string.texi (download)
Revision 1.1, Mon Apr 23 05:45:37 2001 UTC (23 years, 4 months ago) by noro
Risa/Asir manual on the internal specifications. |
@comment $OpenXM: OpenXM/src/asir-doc/int-parts/datatype/string.texi,v 1.1 2001/04/23 05:45:37 noro Exp $ @section $BJ8;zNs(B @example struct oSTRING @{ $BJ8;zNs(B short id; $B<1JL;R(B (= O_STR) short pad; char *body; 0 $B=*C<(B C $BJ8;zNs$X$N%]%$%s%?(B @} *VECT; @end example @noindent C $B$N(B 0 $B=*C<J8;zNs$N(B wrapper $B$G$"$k(B. $B2C;;(B ($BJ8;zNs$N@\B3(B), $BHf3S1i;;$N$_$,(B $BMQ0U$5$l$F$$$k(B. @subsection $BJ8;zNs$N@8@.(B @example #include "ca.h" MKSTR(m,b) (macro; STRING m; char *b) 0 $B=*C<(B C $B$NJ8;zNs(B b $B$r(B Risa $BJ8;zNs(B object m $B$KJQ49$9$k(B. @end example @subsection $B;MB'(B @example #include "ca.h" void addstr(VL vl,STRING a, STRING b, STRING *rp) *rp = a->body $B$H(B b->body $B$r7R$2$?J8;zNs(B int compstr(VL vl,STRING a,STRING b) $BI8=`%i%$%V%i%j4X?t(B strcmp() $B$K$h$kHf3S7k2L$rJV$9(B. @end example