octave-maintainers
[Top][All Lists]
Advanced

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

Evaluating struct fields in whos


From: Oyvind Kristiansen
Subject: Evaluating struct fields in whos
Date: Mon, 19 Apr 2004 05:17:23 +0200 (CEST)

Attached is a patch that adds functionality to whos calls. It works like
this:
   whos y.u i y
will result in a call to the parser in order to evaluate y.u. The rest of
the symbols appended to this string will be evaluated as usual (lookups in
curr_sym_tab).

The benefits are: it is possible to evaluate the size of (and other
properties) of struct fields and matrix cells.

Non-existing struct fields will show up as empty variables, which might
be a problem?

Comments?

-Oeyvind Kristiansen

Attachment: patch
Description: Text document

Attachment: ChangeLog
Description: Text document


reply via email to

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