No display for result. Why?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

No display for result. Why?

Michel
Bonjour,
 
    For example, What I get

>> 2*2
>> 3.*2
>> whos
>> who
>> magic(5)
>> who

    Where the results are?
    I did something wrong....?
   Any idea..?

Regards,

Michel




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: No display for result. Why?

marco atzeri-2
Am 27.09.2018 um 15:52 schrieb Michel:

> Bonjour,
>  
>      For example, What I get
>
>>> 2*2
>>> 3.*2
>>> whos
>>> who
>>> magic(5)
>>> who
>
>      Where the results are?
>      I did something wrong....?
>     Any idea..?
>
> Regards,
>
> Michel
>

Hi Michael,
may be if you tell us what is your system and how you installed octave,
we could make some guesses.

These are the results on Octave 4.4.1 on Cygwin 64 bit
as there are no assignment of course "who" reports only "ans".

octave:1> 2*2
ans =  4
octave:2> 3.*2
ans =  6
octave:3> whos
Variables in the current scope:

    Attr Name        Size                     Bytes  Class
    ==== ====        ====                     =====  =====
         ans         1x1                          8  double

Total is 1 element using 8 bytes

octave:4> who
Variables in the current scope:

ans

octave:5> magic(5)
ans =

    17   24    1    8   15
    23    5    7   14   16
     4    6   13   20   22
    10   12   19   21    3
    11   18   25    2    9

octave:6> who
Variables in the current scope:

ans


Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr├╝ft.
https://www.avast.com/antivirus



Reply | Threaded
Open this post in threaded view
|

Re: No display for result. Why?

Michel
Thank you Marco for your message
I relaunched Octave and the problem has disappeared....
and since I have not reproduced it.

Regards,

Michael



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html