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

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

[Octave-bug-tracker] [bug #61926] Coding infinite loops in Octave


From: Rik
Subject: [Octave-bug-tracker] [bug #61926] Coding infinite loops in Octave
Date: Wed, 26 Jan 2022 11:01:31 -0500 (EST)

Update of bug #61926 (project octave):

                  Status:                    None => Need Info              
                 Summary: infinite loop ends too quickly => Coding infinite
loops in Octave

    _______________________________________________________

Follow-up Comment #1:

What is the use case for this particular construction?

If you need an infinite loop just use looping structures while, for, or
do/until with infinite bounds.

Examples


while (1)
...
endwhile

for i = 1 : Inf
endfor

do
...
until (0)



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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