Re: Rob: Euphoria v2.5 Source Code Problem
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Oct 09, 2005
- 536 views
On Sat, 08 Oct 2005 21:02:21 -0700, Al Getz <guest at RapidEuphoria.com> wrote: >It would be very nice to have it catch at compile time however, >Any ideas appreciated. In Posetf, I had a variable CheckForFunctionReturn which I set to 0 in DoRoutineDef, before the Bock() call, and test before issuing a warning. It gets set to 1 in DoReturn(), and it gets set to 0 on exit, non-constant while test (and probably should be if the constant is 0), and end for statements. I believe there are many more cases to consider, but it is a start. Regards, Pete