Hello,
Yes, to be precise, continue
cannot be used in lambda expressions. This is because do while
and continue
are not actually in the same function body and have different scopes.
You could use return
instead of continue
in lambda expressions.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.