[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41262] general: does packfields work at all?
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #41262] general: does packfields work at all? |
Date: |
Tue, 04 Feb 2014 15:39:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10 |
Follow-up Comment #1, bug #41262 (project octave):
Looking at the source, I found what it's actually supposed to be doing. It
works, but the syntax is very non-canonical, and instead of passing the
arguments, you must pass the name of the arguments
octave-cli-3.8.0> s.a = 1;
octave-cli-3.8.0> b = 2;
octave-cli-3.8.0> packfields("s", "b")
octave-cli-3.8.0> s
s =
scalar structure containing the fields:
a = 1
b = 2
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41262>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41262] general: does packfields work at all?,
Carnë Draug <=