Top
Back: Definition of a user defined type
Forward: Access to elements of a user defined type
FastBack: vector
FastForward: pyobject
Up: User defined types
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.21.2 Declaration of objects of a user defined type


Example:
 
  newstruct("nt","int a,poly b,string c");
  nt A;
  // as long as there is no value assigned to A.b, no ring is needed
  nt B=A;


Top Back: Definition of a user defined type Forward: Access to elements of a user defined type FastBack: vector FastForward: pyobject Up: User defined types Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-3, March 2011, generated by texi2html.