[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info reader & structures

From: Martin Holz
Subject: Re: Info reader & structures
Date: 16 Oct 1997 12:25:21 +0200

Paul <address@hidden> writes:

> 2) When a structure exists, is there a way to just see the element names
> of the structure (as opposed to the data as well). For example, if I
> have a structure x, with elements a, b, & c, I would like to simply type
> x and just get a b c, not the values of a, b & c.  Is there a way to do
> this?

>From the info file of 0ctave 2.0.5:

- Built-in Function:  struct_elements (STRUCT)
     Return a list of strings naming the elements of the structure
     STRUCT.  It is an error to call `struct_elements' with an argument
     that is not a structure.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]