Getting Variables from Option Men --CORRECTION

Brad Sampson programmer711 at
Tue Dec 12 18:53:02 CST 2006

Your problem is that you forgot to declare
global eYr
global bYr
at the beginning of each handler.
Just curious, theres probably some good reason:
Why didn't you just say:

ON menuPick theItem
  global eYr
  put theItem into eYr
END menuPick

on menuPick theItem
  global bYr
  put theItem into bYr
END menuPick


More information about the use-livecode mailing list