[BACK]Return to structure.texi CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-doc / parts / builtin

Diff for /OpenXM/src/asir-doc/parts/builtin/structure.texi between version 1.3 and 1.4

version 1.3, 2003/11/27 15:56:08 version 1.4, 2003/12/18 10:26:20
Line 1 
Line 1 
 @comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/structure.texi,v 1.2 2003/04/19 15:44:59 noro Exp $  @comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/structure.texi,v 1.3 2003/11/27 15:56:08 ohara Exp $
 \BJP  \BJP
 @node $B9=B$BN(B,,, $BAH$_9~$_H!?t(B  @node $B9=B$BN(B,,, $BAH$_9~$_H!?t(B
 @section $B9=B$BN(B  @section $B9=B$BN(B
Line 11 
Line 11 
 @menu  @menu
 * newstruct::  * newstruct::
 * arfreg::  * arfreg::
   * struct_type::
 @end menu  @end menu
   
 \JP @node newstruct,,, $B9=B$BN(B  \JP @node newstruct,,, $B9=B$BN(B
Line 208  Copyright (C) FUJITSU LABORATORIES LIMITED.
Line 209  Copyright (C) FUJITSU LABORATORIES LIMITED.
 4  4
 [15] A*B;  [15] A*B;
 @{0,12@}  @{0,12@}
   @end example
   
   @table @t
   \JP @item $B;2>H(B
   \EG @item References
   @fref{newstruct},
   \JP @fref{$B9=B$BNDj5A(B}
   \EG @fref{structure definition}
   @end table
   
   \JP @node struct_type,,, $B9=B$BN(B
   \EG @node struct_type,,, Structures
   @subsection @code{struct_type}
   @findex struct_type
   
   @table @t
   @item struct_type(@var{name}|@var{object})
   \JP :: $B9=B$BN$N<1JLHV9f$r<hF@$9$k(B.
   \EG :: Get an identity number of the structure of @var{object} and @var{name}.
   @end table
   
   @table @var
   @item return
   \JP $B@0?t(B
   \EG an integer
   @item name
   \JP $BJ8;zNs(B
   \EG string
   @item object
   \JP $B9=B$BN(B
   \EG a structure
   @end table
   
   @itemize @bullet
   @item
   \BJP
   $BL>A0$,(B @var{name} $B$G$"$k9=B$BN(B, $B$^$?$O(B @var{object} $B$N;X$99=B$BN$N<1JLHV9f$r<hF@$9$k(B. $B%(%i!<$N$H$-$O(B -1 $B$rJV$9(B.
   \E
   \BEG
   @code{struct_type()} returns an identity number of the structure or -1 (if an error occurs).
   \E
   @end itemize
   
   @example
   [10] struct list @{h,t@};
   0
   [11] A=newstruct(list);
   @{0,0@}
   [12] struct_type(A);
   3
   [13] struct_type("list");
   3
 @end example  @end example
   
 @table @t  @table @t

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>