help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: array of strings?


From: JasonNicholson
Subject: Re: array of strings?
Date: Thu, 12 Sep 2013 06:38:40 -0700 (PDT)

In your most recent question, use single quotes instead of double quotes and
they will be the same.  Try the below modification to your example.

a = ['hello';'world']
typeinf(a)
b = a+1
typeinfo(b)
c = char(b)
typeinfo(c)


Also note, 

'hello' == "hello"

produces

ans =

   1   1   1   1   1






--
View this message in context: 
http://octave.1599824.n4.nabble.com/array-of-strings-tp4656994p4657272.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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