browse keys (@bk)
Kenneth Brody
kenbrody at bestweb.net
Tue Jul 20 09:31:25 PDT 2004
"Jay R. Ashworth" wrote:
[...]
> > > Happens it will; I just tested it: even if you press "X", what you get
> > > back in @BK is "x".
> >
> > @BK will contain the keystroke you pressed, and will retain the case that
> > you typed.
> >
> > If I press a lower-case letter, @BK contains that lower-case letter. If
> > I press a capital letter, @BK contains the capital letter.
>
> I just tested it: it doesn't work that way. @BK was lower case, even
> when I typed an upper case letter.
==========
::end:
@entsel::show "\r T \r - test brwlook w/ xkey":
::end:
@keyT::ky = "":
::lookup zip = zipcodes k=ky i=A -nx b="(brw=12 xkey=abcdef fill=asc)*1
*2 *3 ":
::clearb:
::mesgbox "@bk='" & @bk & "' @sk='" & @sk & "'":
::end:
==========
If I press 'a', @BK is "a". If I press 'A', @BK is "A".
[...]
> > > But more importantly, how come "=" is acceptable on an IF line?
> >
> > Because you can't have assignments on an if line, so "=" is available to
> > unambiguously mean "check for equality".
>
> Noted. But that doesn't explain why I *can't* use the traditional
> companions thereto (>, <, etc), which is the real question.
Because those still have the "normal" filePro meaning, even on an IF line.
[...]
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody at spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
More information about the Filepro-list
mailing list