patchGNU Octave - Patches: patch #9027, Allow evalin for arbitrary...


patch #9027: Allow evalin for arbitrary contexts

Submitted by:  Lachlan Andrew <lachlan>
Submitted on:  Fri 10 Jun 2016 10:14:42 AM UTC  
Category:  Core : other Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  Lachlan Andrew <lachlan> Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 13 Jun 2016 09:53:25 AM UTC, comment #1: 

Note the patch accidentally has tabs in it.  I'll remove them from the next version, but will wait for feedback first.

Lachlan Andrew <lachlan>In charge of this item.
Fri 10 Jun 2016 10:14:42 AM UTC, original submission:  

This patch allows evalin() to evaluate from contexts other than the immediate parent of the caller or the base context.

It allows evalin (level, expression) to evaluate in the context of the level'th ancestor.

Alternatively, evalin('=id', expression) evaluates in the context of the ancestor named id.

I find this particularly useful for conditional breakpoints.

Lachlan Andrew <lachlan>In charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #37448:  patch_evalin.cset added by lachlan (8KiB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lachlan (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-07 lachlan CategoryNone => Core : other
    2016-06-10 lachlan Attached File- => Added patch_evalin.cset, #37448

    Back to the top

    Powered by Savane 3.7