[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with some 'End' marks


Am 29.03.25 um 06:01 schrieb BB:
Benoît, I can't agree. Anything that makes the code validity dependent on its starting point in the line just adds an impost on the coder that philosophically should not be there.

I fully agree to the above.

In my case an existing program coming from a stable development environment worked well on the master but when I added an

if ... then

...

End if

inside a Sub, the program threw an End-Error. As I wasn't aware of the recent modification and couldn't find what was causing this, I had to return to the stable to make this little modification. This may now happen with hundreds of programs I wrote with Gambas.

I regard this as serious breach of the Basic programming philosophy and a massive threat to the maintainability of existing programs resp. backwards compatibility.

If this persists I will have to freeze my stable development environment.

Best regards

Claus


Follow-Ups:
Re: problems with some 'End' marksBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
problems with some 'End' marksCharlie Reinl <Karl.Reinl@xxxxxxxxxx>
Re: problems with some 'End' marksBruce Steers <bsteers4@xxxxxxxxx>
Re: problems with some 'End' marksBruce Steers <bsteers4@xxxxxxxxx>
Re: problems with some 'End' marksBB <adamnt42@xxxxxxxxx>
Re: problems with some 'End' marksBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: problems with some 'End' marksBB <adamnt42@xxxxxxxxx>