Can we have "syntax checking" when the flowcharter converts a chart to basic?
- check for unreachable (disconnected) blocks (nothing at their inputs)
- check for blocks with no "return" or "stop" connected to their outputs
- useof reserved words (switch etc) in symbols and subroutine names.
At present, the only way to find disconnections is to simulate, but then not all
the program is tested in a simple simulation.
The converter currently produces code that can flow off the bottom of
the main program into a subroutine, or off the bottom of a subroutine.
The resulting behaviour can thoroughly confuse students and tutors alike
Thanks
John Fisher
- check for unreachable (disconnected) blocks (nothing at their inputs)
- check for blocks with no "return" or "stop" connected to their outputs
- useof reserved words (switch etc) in symbols and subroutine names.
At present, the only way to find disconnections is to simulate, but then not all
the program is tested in a simple simulation.
The converter currently produces code that can flow off the bottom of
the main program into a subroutine, or off the bottom of a subroutine.
The resulting behaviour can thoroughly confuse students and tutors alike
Thanks
John Fisher