yeah, i see... i'm not sure i would ever use it though... it tends to take away a little from the readability of the code, and while i have a strong preference for select...endselect i would go for if...else...endif in the specific situation you describe
you mean 'continue' as in 'make_the_next_case_condition_true' but that's a bit long for a keyword
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
@GPI: Continue is included in the help file at topic 'Break & Continue'. The description tells you, that its thought for Repeat, For, ForEach and While. Is the using in a Select block a hidden feature ?
Andre wrote:@GPI: Continue is included in the help file at topic 'Break & Continue'. The description tells you, that its thought for Repeat, For, ForEach and While. Is the using in a Select block a hidden feature ?
All other is up to Fred to answer
A big misunderstanding...
i know, that continue only work on loops. I want a extension, so that it also work on select -case (like in c, as i know.)
GPI wrote:i know, that continue only work on loops. I want a extension, so that it also work on select -case (like in c, as i know.)
Nope, it's just the other way round. In C you have to tell the program to leave the Select Case by inserting a break. Your method would be more like forwarding.