DAK
10-20-2004, 02:54 PM
I seem to be doing something wrong.
-- Welcome to setup screen when Next button pressed
My script looks something like this:
-- if bFlagA or bFlagB then go somewhere else
if bFlagA then
Screen.Jump("Screen_A")
elseif bFlagB then
Screen.Jump("Screen_B")
end
-- if not bFlagA and not bFlagB then continue the script here
-- more script that should only be processed if bFlagA and bFlagB are both false.
The script here is being precessed even when bFlagA is true or when bFlagB is true.
Debug trace shows the program going to "Screen_A" on preload and then coming right back to this screen "Welcome to setup" on next.
Same type of thing happens when bFlagB is true.
Any suggestions,
Dave
-- Welcome to setup screen when Next button pressed
My script looks something like this:
-- if bFlagA or bFlagB then go somewhere else
if bFlagA then
Screen.Jump("Screen_A")
elseif bFlagB then
Screen.Jump("Screen_B")
end
-- if not bFlagA and not bFlagB then continue the script here
-- more script that should only be processed if bFlagA and bFlagB are both false.
The script here is being precessed even when bFlagA is true or when bFlagB is true.
Debug trace shows the program going to "Screen_A" on preload and then coming right back to this screen "Welcome to setup" on next.
Same type of thing happens when bFlagB is true.
Any suggestions,
Dave