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

 
 

patch #9027: Allow evalin for arbitrary contexts

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

Add a New Comment Rich Markup
   

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>
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>

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by lachlan (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-02a9.
    Corresponding source code