[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: array of strings?
From: |
Mike Miller |
Subject: |
Re: array of strings? |
Date: |
Thu, 12 Sep 2013 12:45:43 -0400 |
On Thu, Sep 12, 2013 at 07:12:27 -0700, MrOba wrote:
> Thanks for the reply Jason.
>
> But this still doesn't solve my problem :)
> I would like to have "c" of type string more than "a" of type sq_string..
The sq_string type is the default type of string in Octave. Any type
conversions to char at the interpreter level will have type sq_string.
Any concatenation involving a sq_string will produce a sq_string. The
manual explains how to construct an octave_value that is a
double-quoted string instead if you're working in C++.
Practically it shouldn't matter, though, unless I'm missing something.
Maybe you should restate the original problem you are having with
sq_string (the invalid conversion error) instead of trying to figure
out how to coerce your data into a double-quoted string type.
--
mike
- array of strings?, MrOba, 2013/09/02
- Re: array of strings?, MrOba, 2013/09/03
- Re: array of strings?, Nicholas Jankowski, 2013/09/03
- Re: array of strings?, MrOba, 2013/09/03
- Re: array of strings?, MrOba, 2013/09/05
- Re: array of strings?, MrOba, 2013/09/12
- Re: array of strings?, JasonNicholson, 2013/09/12
- Re: array of strings?, MrOba, 2013/09/12
- Re: array of strings?,
Mike Miller <=
- Re: array of strings?, Nicholas Jankowski, 2013/09/12
- Re: array of strings?, Nicholas Jankowski, 2013/09/12
- Re: array of strings?, MrOba, 2013/09/13
- Re: array of strings?, Mike Miller, 2013/09/13
- Re: array of strings?, MrOba, 2013/09/13
- Re: array of strings?, MrOba, 2013/09/18
- Re: array of strings?, MrOba, 2013/09/18
- Re: array of strings?, Mike Miller, 2013/09/18
- Re: array of strings?, MrOba, 2013/09/19
- Re: array of strings?, Mike Miller, 2013/09/19