Here's the issue I'm making a program and it's got a lot of start-up options I've been using BlueGUI to program these and I've now got a ton of if then statements. I'm looking for a way to shrink said code down.
Ex:
If selectedItem(gadget1)=0
setGadgetVisible gadget2,1
else
setGadgetVisible gadget2,0
endif
If selectedItem(gadget1)=1
setGadgetVisible gadget3,1
else
setGadgetVisible gadget3,0
endif
If selectedItem(gadget1)=2
setGadgetVisible gadget4label,1
setGadgetVisible gadget4,1
else
setGadgetVisible gadget4label,0
setGadgetVisible gadget4,0
endif
and so on and so forth... It's taking a while to get all the option/sub options in there.
Any know an easier/shorter way?
Breaking Stuff=Fun!,Bug Testing<>Fun!, Bug Testing=Breaking Stuff, so...
Bug Testing=Fun! Hmmmm....
DOES NOT COMPUTE! SYSTEM MALFUNTION!