Re: getSelf( )

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

on return val 'stack'

dave cuny wrote:
>>
Take it out and you'll eventually find out why - it took a lot of hair
pulling to figure this out, even though in retrospect it's fairly obvious.
<<

  Hmmmm.  Funny i never had a problem with it and i've been running that
code without a stack for months now.  My older version looks like this:

  In WinLib:
    global atom EventReturnVal
    EventReturnVal=1  --default

  In user exw file onEvent():
    EventReturnVal=0 --to return a zero to windows
    return

  Then in WndProc() in WinLib:
    if EventReturnVal=0 then
      EventReturnVal=1 --resets it
      return 0
    else
      --default to no action taken
    end if

Can you offer a senerio to reproduce this problem?
What are the consequences of that problem if it does occur?
What unusual behaviour first made you realize this was a problem?

--Al

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

Search



Quick Links

User menu

Not signed in.

Misc Menu