Hi,
I'm facing an issue with nested loops in one of my Starbasic macros.
I get the error message Basic syntax error. Unexpected symbol: End
Sub although the procedure starts with sub and ends with end
sub. In the procedure are nested loops. I don't know if there is
sth. wrong with my
Hi Helge,
Helge Kraak wrote:
[...]
The document can be found here:
http://www.kraak.info/Hausarbeitsvorlage_mit_Chronologie.odt
The name of the procedure causing the error is datei_exportieren.
[...]
Making nice indents helps.
A loop was missing.
Thank your very much Cor! I removed the indents with the hope to
resolve the error by deleting potential hidden text in the macro (I
know it sounds strange but I was too desperate :-)).
But still I'm confused because as I can see I have only 3 loops
starting with do in the procedure but
Helge Kraak schreef:
Thank your very much Cor! I removed the indents with the hope to resolve
the error by deleting potential hidden text in the macro (I know it
sounds strange but I was too desperate :-)).
Aha ;-)
There are some things you can do to make it easier/better.
- Add some
Helge Kraak schreef:
Am 08.09.2007 um 23:00 schrieb Cor Nouws:
The one-but last 'Loop' has to be and 'And If'.
Pls test :-)
I still don't understand why there has to be an additional 'loop' but
above all it's important it's working now though I don't understand the
logic behind this