octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #55943] The pause function fails when there is


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #55943] The pause function fails when there is no argument
Date: Mon, 18 Mar 2019 14:58:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Update of bug #55943 (project octave):

                  Status:               Need Info => Confirmed              

    _______________________________________________________

Follow-up Comment #5:

With 5.1.1 (on Windows 7), just copying the code into the terminal:

GNU Octave, version 5.1.1
:
>> x=0:.5:10;
>> y1=sin(x)
y1 =
 Columns 1 through 9:
   0.00000   0.47943   0.84147   0.99749   0.90930   0.59847   0.14112 
-0.35078  -0.75680
 Columns 10 through 18:
  -0.97753  -0.95892  -0.70554  -0.27942   0.21512   0.65699   0.93800  
0.98936   0.79849
 Columns 19 through 21:
   0.41212  -0.07515  -0.54402

>> pause;
>> 2=cos(x)
parse error:

  invalid constant left hand side of assignment

>>> 2=cos(x)
     ^
                                                                              
                   
>>


(It seems Octave "eats" the "y" in y2, pauses, and upon hitting <Enter>
reports a parse error.)

Copying the code into an empty editor tab, selecting it and running it
pressing F9 I can reproduce the bug.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55943>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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