Weirdness with global variable declaration

Doug Lerner doug at webcrossing.com
Sun Jan 18 21:37:53 EST 2004


In an openCard handler I have:

on openCard
  global debugMode
  global inChatUsers, newChatSocket
  global chatRect, chatRectHalf, wbRect
  put "8,8,596,314" into chatRect
  .
  .
  .

But a button in that card doesn't seem to know the value of chatRect. And
while globalNames lists inChatUsers, newChatSocket and debugMode it doesn't
list any of the three globals on the third line of the handler above.

Any reasons why a global should no longer be among the globalNames?

Thanks,

doug



More information about the use-livecode mailing list