Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nested Shared Boolean

Status
Not open for further replies.

jibberski

Programmer
Aug 24, 2005
52
US
Keep getting an error on this!
How to I reset the flag "Tops"?

/////////////////
Shared BooleanVar Tops;

Switch(
{@Job} = "5199", 2,
{@Job} = "5299", 3,
{@Job} = "5501", if {@Tfound} = true then
Tops:= False;
4,
)

Thanks for your time!
 
Switch statement won't allow for this.. Backed out switch to a giant if, else if statement.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top