Re: SWITCH problem - need thoughts
- Posted by xecronix Apr 15, 2016
- 1554 views
jessedavis said...
if Event = Click then pf(EventOwner,"line #3 Event owner @ point 2A => ") pf(evntownr,"line #4 Point 2B evntownr => ") pf(cat_sel_cancel_btn,"line #5 point 2C - cancel btn => ") --------------------------------
I'm not sure what pf does but can you try this?
if Event = Click then pf(EventOwner,"line #3 Event owner @ point 2A => ") pf(evntownr,"line #4 Point 2B evntownr => ") pf(cat_sel_cancel_btn,"line #5 point 2C - cancel btn => ") pf(cat_sel_cancel_btn,"line #5 point 2D - cancel btn => ") --------------------------------
I ran the following without issue
- Euphoria Interpreter v4.1.0 development
- 64-bit Linux, Using System Memory
- Revision Date: 2015-08-27 10:36:54, Id: 6340:e912a32d9ad5
constant ctrl1=8247618 constant ctrl2=9247618 atom evntownr=9247618 switch evntownr do case ctrl1 then puts(1, "CASE ONE") case ctrl2 then puts(1, "CASE TWO 9247618") case else puts(1, "CASE THREE") end switch puts(1, "\n")