[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
different string types string and sq_string
From: |
Ben Barrowes |
Subject: |
different string types string and sq_string |
Date: |
Fri, 20 May 2005 11:05:11 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 |
What is the difference between the two different string types in octave?
string and sq_string?
For example:
octave:18> a="ff"
a = ff
octave:19> b='ff'
b = ff
results in:
Prot Name Size Bytes Class
==== ==== ==== ===== =====
rwd a 1x2 2 string
rwd b 1x2 2 sq_string
This difference leads the ubiquitous error cluttering my stdout:
octave:23> [a,b]
warning: concatenation of different character string types may have
unintended consequences
ans = ffff
octave:24>
What "unintended consequences" may happen?
How can I turn this warning off?
> warning off
doesn't work...
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- different string types string and sq_string,
Ben Barrowes <=