What is the maximum number of nested loops/if statements?s

HarleyM

Member
Licensed User
Longtime User
I started to get the following compiling error with V1.5

Compiling code. Error
Error parsing program.
Error description: Missing Keyword: end sub

The error pointed to an end if statement & it dawned on me that I might be exceeding the maximum allowable number of nested loops & If statements, which are rife in this part of my code which uses combinations of Do while, for & if statements.

I've tried searching through the documentation to find this specification, but so far haven't found confirmation that this is my problem.

edit - I've since discovered that I had a missing then statement, but this raises an interesting point that we could do with a list of compiler descriptions & any alternative reasons as to why they may be appearing....

i.e Missing Keyword: end sub - also check that all if statements are paired with a then

It might sound obvious but these are the kind of things that I can spend ages trying to resolve even though they are staring me in the face.
 
Last edited:
Top