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

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

[Octave-bug-tracker] [bug #64908] Cut/paste "pause" into command window


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #64908] Cut/paste "pause" into command window may cause unexpected results
Date: Sun, 19 Nov 2023 15:24:26 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?64908>

                 Summary: Cut/paste "pause" into command window may cause
unexpected results
                   Group: GNU Octave
               Submitter: lt1234
               Submitted: Sun 19 Nov 2023 08:24:24 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: lt1234
        Originator Email: 
             Open/Closed: Open
                 Release: 8.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 19 Nov 2023 08:24:24 PM UTC By: Liang Tang <lt1234>
I ran into an issue for a use case of pause in the command window.  pause were
entered through text cut/paste, not keyboard.   Text editor I have is
notepad++. 

Please cut/paste these below into command window.  These two groups are the
same except, for the latter, a carriage return is entered right after the
pause. 

When I pasted the lines, the first pause does not work at all. 0 and 1 were
displayed automatically without any feedback from me. After all done, I then
used arrow up key back to the first line, pause works under this condition.

For the 2nd pause, at the end of the line, below, the first character of the
line is always ignored/missing. 

display(0); pause, display(1)
display(0); pause,
display(1)


>>
>> display(0); pause, display(1)
0
1
>> isplay(0); pause,
error: 'isplay' undefined near line 1, column 1
>> display(1)







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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