Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAK and RETURN don't work in TRY-CATCH #152

Closed
AFilipchyk opened this issue Aug 2, 2019 · 0 comments
Closed

BREAK and RETURN don't work in TRY-CATCH #152

AFilipchyk opened this issue Aug 2, 2019 · 0 comments
Assignees
Labels
bug

Comments

@AFilipchyk
Copy link
Collaborator

@AFilipchyk AFilipchyk commented Aug 2, 2019

FOR str == 'a' OR str == 'b' DO { stringToFile(str,'CP1251','txt'); TRY { WRITE resultFile() TO 'ftp://'; } CATCH { MESSAGE str NOWAIT; BREAK; } }

This code should run only MESSAGE 'a', but runs MESSAGE 'a' and MESSAGE 'b'

@AFilipchyk AFilipchyk added the bug label Aug 2, 2019
@AFilipchyk AFilipchyk self-assigned this Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.