| Subject |
Re: SpeedTip followup |
| From |
Ken Mayer <dbase@nospam.goldenstag.net> |
| Date |
Thu, 23 Feb 2023 20:48:27 -0800 |
| Newsgroups |
dbase.getting-started |
On 2/23/2023 4:14 PM, Lee Grant wrote:
> AndrewS,
>
> I was hoping you'd chime in, since I know you have a VM setup. :)
>
> Your code manually making the toggle, is what I was referring to, but
> after I changed the spelling it worked for me, so I didn't figure any
> other code would be necessary.
>
> I was trying to think why the toggling worked for Ken prior to my
> changing the spelling, but not for me, until after.
>
> My theory was going to be that the original code made an assignment only
> ':=' symbol assigning the IIF() function and it's conditions, and maybe
> it was that assignment that kept the different spellings from working. I
> don't know if Ken changed anything else on his sample of the code or not.
The only change, was as noted, I tested it once with the == instead of
the = operator for the iif() function, otherwise, it worked as expected.
I tested set exact on, set exact off. With exact off, and the = operator
(not the ==) it did what it should, and toggled back and forth between
the two colors with no exceptions, multiple times.
Ken
--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm
|
|