next up previous contents index
Next: DEFINE TABLE Up: DEFINE Previous: DEFINE REAL   Contents   Index


DEFINE STRUCTURE

        [SIC\]DEFINE STRUCTURE Str [/GLOBAL] [/LIKE MoldStr]

    Define  a  new  structure  name. Structure naming follows the Fortran-90
    convention, i.e. Str%SubStr%SubStrElement. Structure elements (including
    sub-structures if needed) can be defined using command
        DEFINE REAL Str%Element
    etc.   The  %DATA  element field is reserved to handle the N-Dimensional
    data area associated to the structure, allowing Structure to mimick  Im-
    ages if needed.

    An  entire structure and all its associated members is deleted by a sin-
    gle command DELETE Str /VARIABLE.  A Structure can be defined  like  an-
    other one using the /LIKE option.


Gildas manager 2024-04-18