help-octave
[Top][All Lists]
Advanced

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

Newbie questions -- Weird Problem


From: Francesco Potorti`
Subject: Newbie questions -- Weird Problem
Date: Wed, 09 Aug 1995 15:04 +0100 (MET)

        Octave:1> aa=['foo';'bar']
        aa = 102 111 111
             98  97  114

   Strings are converted to ASCII values.

On alpha, instead I get:

        Octave:1> aa=["foo", "bar"]
        aa = foobar
        Octave:2> aa=["foo"; "bar"]
        error: invalid conversion from string to real matrix
        error: evaluating assignment expression near line 20, column 3
--
         Francesco Potorti`     | address@hidden (Internet)
         researcher at          | 39369::pot (DECnet)
         CNUCE-CNR, Pisa, Italy | +39-50-593203 (voice) 904052 (fax)


reply via email to

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