esc esc vs wlf

Brian K. White brian at aljex.com
Sun Apr 20 12:23:09 PDT 2008


----- Original Message ----- 
From: "GCC Consulting" <gccconsulting at comcast.net>
To: "'Barry Wiseman'" <bwiseman at optonline.net>; "'Scott Nelson'" <scott at logicdatasystems.com>
Cc: "'filePro Mailing List'" <filepro-list at lists.celestial.com>
Sent: Sunday, April 20, 2008 2:29 PM
Subject: RE: esc esc vs wlf


> 
> 
>> -----Original Message-----
>> From: filepro-list-
>> bounces+gccconsulting=comcast.net at lists.celestial.com [mailto:filepro-
>> list-bounces+gccconsulting=comcast.net at lists.celestial.com] On Behalf
>> Of Barry Wiseman
>> Sent: Friday, April 18, 2008 6:50 PM
>> To: Scott Nelson
>> Cc: filePro Mailing List
>> Subject: Re: esc esc vs wlf
>> 
>> Scott Nelson wrote:
>> > On a file were there are wlf processing, and the user can hit esc,
>> esc
>> > to save, the wlf process occurs first.  This is not always needed or
>> > wanted.  Anyone have an easy way to prevent the wlf prc from
>> happening
>> > when the user hits esc, esc or tab?
>> 
>> You mean easier than
>> 
>> @wlfxx:@sk eq "SAVE" or @sk eq "RTAB":end:
> 
> How about: @wlfxx:@sk="SAVE":END

Well the question was for both save and tab, so leaving out tab isn't a valid way to make the answer shorter, and, = in the condition test section? arggh. That should have never been valid syntax. Even if we had distinct comparison operators vs. assignment operators, like == >= etc, there are no such common operators for co, etc, so, the most consistent way is to use the mnemonics always.

I think the question was not asked quite clearly in the first place either.

a) Surely you want to suspend the wlf processing no matter how the user leaves the field, which means back-tab and down/up arrow too, and Enter if the value didn't actually change.

b) Surely you only want to suspend the wlf processing _sometimes_, so the test needs to be on some other condition.


So I would say:

@wefxx: : sv = xx :
@wlfxx: other_condition and xx eq sv : end :

Not testing for escesc or tab at all. 


Brian K. White    brian at aljex.com    http://www.myspace.com/KEYofR
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!



More information about the Filepro-list mailing list