Re: better example

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Dan,
my example is not wrong and neither is yours. It all depends on what one is
trying to do.

In my code, I was trying to display the state of the menu item at the time
it was examined. In your code, you are displaying the state of the menu item
after it has been changed.

I could have made my code more obvious if I had written ...

     setText(SimpleWin, "The first menuitem was " &
                      iff(curval, "", "NOT") &
                       "checked.")

Once again, we are stung by poor user requirement specification blink

-----------
Derek.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu