[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41553] sq_string text format includes length
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #41553] sq_string text format includes length for every element |
Date: |
Tue, 11 Feb 2014 19:12:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0 |
Follow-up Comment #6, bug #41553 (project octave):
Also note the way I read the comment describing the format, the parser is
intentionally permissive to different lengths, so something like this
# name: a
# type: string
# elements: 4
# length: 3
foo
# length: 9
something
# length: 1
a
# length: 23
this is a longer string
loads perfectly well into Octave, even though that is not what Octave produces
using the save command.
So the padding is not strictly necessary, as this example shows, but padded
strings is indeed how Octave will write out an ordinary character matrix.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41553>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/