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

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

[Octave-bug-tracker] [bug #51698] Nested function fails to inherit a var


From: anonymous
Subject: [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin
Date: Wed, 9 Aug 2017 14:26:30 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

Follow-up Comment #10, bug #51698 (project octave):


Understood. 

Re your question, it was just for added convenience.  Here's one example where
I use this: 

For example, I'm used to things like  
    structunmakemy(s)

which unpacks its fields in the current scope.

I should switch to something like

unpackfields("s", fieldnames(s){:});


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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