[Implemented] EXIT DO ; ERROR TRAPING
Posted: Thu Feb 07, 2002 1:35 pm
Restored from previous forum. Originally posted by gnozal.
What I REALLY miss : EXIT DO (eg: EXIT REPEAT, EXIT WHILE)
********** ALL BASIC's **************
DO
' Want to exit
EXIT DO
'
LOOP
********** PUREBASIC **************
REPEAT
' Want to exit
Quit = 1
'
UNTIL Quit = 1
************************************
What I also miss : ON ERROR GOTO, ERRLINE, ERRNUM, ...
Why not add error traping? It could be optional for those who want speed..
What I REALLY miss : EXIT DO (eg: EXIT REPEAT, EXIT WHILE)
********** ALL BASIC's **************
DO
' Want to exit
EXIT DO
'
LOOP
********** PUREBASIC **************
REPEAT
' Want to exit
Quit = 1
'
UNTIL Quit = 1
************************************
What I also miss : ON ERROR GOTO, ERRLINE, ERRNUM, ...
Why not add error traping? It could be optional for those who want speed..