Hello Peter,
but from what I see in the manual it is legal
=> Then, I must have not been clear enough in the manual...
Because, the IF statement can be used in two ways:
1. a one line statement, and then no THEN, no ELSE, no ENDIF
The end of the line implies the end of the IF statement.
Example:
IF M>1 SHOW #2 : A=A+1
A is incremented only if M>1.
2. a multiple line statement, with THEN (mandatory), ELSE (facultative), and ENDIF (mandatory).
Example:
IF M>1 THEN
SHOW #2
A=A+1
ENDIF
I am happy that you appreciate the MegaString. It is something I was also badly missing until now.
And I am more than happy to read that you were creative to bypass some of the initial limitations you found in izibasic with very smart tricks.
Cheers
@+
aldweb