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

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

[Octave-bug-tracker] [bug #43272] Optional superfluous end* statements


From: CH
Subject: [Octave-bug-tracker] [bug #43272] Optional superfluous end* statements
Date: Sun, 21 Sep 2014 14:53:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

URL:
  <http://savannah.gnu.org/bugs/?43272>

                 Summary: Optional superfluous end* statements
                 Project: GNU Octave
            Submitted by: atcl
            Submitted on: Sun 21 Sep 2014 02:53:10 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: Any

    _______________________________________________________

Details:

Would it be possible to make the end* statements unnecessary for loops and
conditional blocks by evaluating indentation depth (as python forces) ?
So, the end of a block is reached as soon as the indentation depth reduces,
ie:

for a=1:n
   dothis(); # loop body
dothat();    # outside loop






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43272>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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