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 : otherPriority: 5 - Normal
Status: NonePrivacy: 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>
Project MemberIn 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>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

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
  • -unavailable- added by lachlan (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 Jul 2016 01:35:51 AM UTClachlanCategoryNone=>Core : other
    Fri 10 Jun 2016 10:14:42 AM UTClachlanAttached File-=>Added patch_evalin.cset, #37448

    Back to the top


    Powered by Savane 3.1-cleanup1