05-29-2022, 12:40 AM
(05-28-2022, 11:55 PM)PhilOfPerth Wrote: Can Select Case segments be safely nested, by placing another Select Case segment inside one or more of the primary Cases? Or will they "contaminate", messing up the stack of operations for the program?
I know we can nest For...Next and If...Then, but it's not made clear in the Help file whether this is ok for Select Case.
I'm still exploring, so this would be helpful to know.
Same thing with Select Case, just make sure the inner Select Case inclusive its respective End Select is entirely inside the same outer Case, hence same as with If..Then.
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23