Code: Select all
If WindowOpen( . . .)
If CreateGadgetList( . . .)
. . .
EndIf
EndIf
Should all of my commands be imbeded in If statements? Which commands should be in If statements in PureBasic? What is the syntax for the window and gadget commands? After putting an OpenWindow statement in an If statement (for whatever reason) do I need to put any commands that call gadgets in that window before the EndIf?
Thanks, the apprent lack of a reason for those If commands is really confusing.