Open MilapNaik opened 1 year ago
Hey @MilapNaik we actually added syntax support for continue for
back in release 0.59.0 (October 3, 2022). We didn't add backwards transpiling support though, so it doesn't entirely fix #18.
Is it possible that your project is using a version of brighterscript lower than 0.59.0?
Since Roku OS 11.5, Roku has supported continue for and continue while statements. However, brighterscript believes the "continue for" is the beginning of a for loop and errors or tries to adjust spacing. Adding support for this will also fix issue https://github.com/rokucommunity/brighterscript/issues/18.
More info: https://developer.roku.com/docs/references/brightscript/language/program-statements.md#continue-for--continue-while