[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.7.3 struct_type

struct_type(name|object)
:: Get an identity number of the structure of object and name.

return
an integer
name
string
object
a structure

 
[10] struct list {h,t};    
0
[11] A=newstruct(list);
{0,0}
[12] struct_type(A);
3
[13] struct_type("list");
3

References
6.7.1 newstruct, 4.2.9 structure definition


This document was generated by root on March, 5 2004 using texi2html