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

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

[Octave-bug-tracker] [bug #56776] Pause function doesn't respond to key


From: anonymous
Subject: [Octave-bug-tracker] [bug #56776] Pause function doesn't respond to key press
Date: Sun, 18 Aug 2019 19:05:01 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36

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

                 Summary: Pause function doesn't respond to key press
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 18 Aug 2019 11:04:59 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Adrian Jewell
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Mac OS

    _______________________________________________________

Details:

Octave's pause function doesn't respond to key presses when executed without
arguments. 

Rather, it simply pauses the program indefinitely, with no way to resume
program execution. I discovered this while working through Andrew Ng's ML
course using Octave, where I had to simply comment out the pause commands in
order to run the scripts. 

Other test cases:

1. "r = [1;2;3]; pause; f=[3;4;5]" in the repl will freeze indefinitely

2. "r = [1;2;3]; pause(0.05); f=[3;4;5]" will freeze until key press if the
time determined by the argument has passed. Else, it will not respond to key
press.

3. using "pause (0.05)" in Ng's ML scripts will work as expected.

By key press, I hold the same definition defined in the documentation.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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