Browse Lookups
Fairlight
fairlite at fairlite.com
Tue Jun 26 09:17:19 PDT 2018
On Tue, Jun 26, 2018 at 11:38:36AM -0400, Richard Kreiss via Filepro-list thus spoke:
> I would love to be able to set a timer for a browse which would execute a
> sub-routine.
You're thinking very old-school.
What would be better than a timer is a set of configurable callbacks which
execute processing table segments upon various events.
* Begin lookup
* Changed record
* End of matches
* Close lookup
In this fashion, you can configure what you like, without having to rely
on an arbitrary timer which may be smaller than desirable, or larger than
necessary (thus wasting time). Timers generally suck, to put it bluntly.
They're often too crude a tool. Events are a much better methodology for
this sort of functionality.
And lo and behold, filePro already supports events in general terms. So
why not have @brsbeg, @brsrcd, @brsend, and @brscls as system-based events
which function like conventional callbacks?
m->
--
Audio panton, cogito singularis.
More information about the Filepro-list
mailing list