Re: overriding a function

2015-06-25 Thread David Bovill
Wow - creativity just keeps coming :) There is not much difference between a kludge and a creative discovery. Would be interesting to know though what the time cost is with regard to inserting and removing elements from the message path. I would think it is just adding and removing a line to an in

Re: overriding a function

2015-06-24 Thread Peter Haworth
Sorry, that should be - dispatch function "getlist" to On Wed, Jun 24, 2015 at 1:43 PM Peter Haworth wrote: > Right, wasn't sure about that, hence the "?" at the end :-) > > I tried this as a front script and it works. > > function getList >remove the script of from front >dispatch "g

Re: overriding a function

2015-06-24 Thread Peter Haworth
Right, wasn't sure about that, hence the "?" at the end :-) I tried this as a front script and it works. function getList remove the script of from front dispatch "getList" to --do whatever with the reult insert the script of into front end getList Feels a bit kludgy though. Pete

Re: overriding a function

2015-06-24 Thread David Bovill
That would get trapped by the Front Script On Wed, 24 Jun 2015 at 15:43, Peter Haworth wrote: > Maybe dispatch getlist to wherever it exists in the IDE stacks? > > On Wed, Jun 24, 2015, 2:29 AM Monte Goulding > wrote: > > > Thanks Dick I wasn't expecting a solution! Very creative! > > > > Sent f

Re: overriding a function

2015-06-24 Thread Peter Haworth
Maybe dispatch getlist to wherever it exists in the IDE stacks? On Wed, Jun 24, 2015, 2:29 AM Monte Goulding wrote: > Thanks Dick I wasn't expecting a solution! Very creative! > > Sent from my iPhone > > > On 24 Jun 2015, at 6:50 pm, Dick Kriesel wrote: > > > > It works for me. Does it work fo

Re: overriding a function

2015-06-24 Thread Monte Goulding
Thanks Dick I wasn't expecting a solution! Very creative! Sent from my iPhone > On 24 Jun 2015, at 6:50 pm, Dick Kriesel wrote: > > It works for me. Does it work for you? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: overriding a function

2015-06-24 Thread David Bovill
Nice On Wed, 24 Jun 2015 at 09:51, Dick Kriesel wrote: > > > On Jun 23, 2015, at 10:39 PM, Monte Goulding < > mo...@sweattechnologies.com> wrote: > > > > Howdy folks > > > > I’m doing a bit of IDE hacking for a new plugin and I want to override a > function in one of the libraries or rather add s

Re: overriding a function

2015-06-24 Thread Dick Kriesel
> On Jun 23, 2015, at 10:39 PM, Monte Goulding > wrote: > > Howdy folks > > I’m doing a bit of IDE hacking for a new plugin and I want to override a > function in one of the libraries or rather add some lines to it’s results. > The only way I can override is via a front script but ideally I