Project corrupts - error 458 in CODEGEN_xxx.BAS FF3.05 XP Pro SP3

Started by Ian Bayly, January 02, 2010, 11:06:03 PM

Previous topic - Next topic

Ian Bayly

Hi all
I have needed to restore from backup three times over recent days because the project develops the error shown in bmp:
Error 458 in CODEGEN_ROWING_MAIN.BAS End sub expected line 630.
There is no pattern to fault occurring, test, add a simple 1 line of code and that's it, project will not compile.

I am sure there must be a recovery technique, which avoids the need for restore, but I'm not smart enough to know how.  Can any one help with a recovery method?
I'm doing a back up each 30minutes which is a bit tedious.
I attach a bmp of error and bas file of code being blamed for the failure.

Any help appreciated

Ian B

Ian Bayly

Sorry I think it's me.
Just happened again where I had missed end sub.
It pointed to the bas file rather than the Form Code which may have fooled me in prior incidents.

I'll watch it over next few days and report back if it happens without this error on my part.

Ian B

Paul Squires

Marty had a similar problem in http://www.planetsquires.com/protect/forum/index.php?topic=2227.0 with END FUNCTION. There is not much FireFly can do when the programmer screws up the SUB/END SUB or FUNCTION/END FUNCTION blocks. The PB compiler does not pinpoint the error for you.
Paul Squires
PlanetSquires Software