[Top][All Lists]

[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
# length: 9
# length: 1
# 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:


  Message sent via/by Savannah

reply via email to

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