Can we have flowchart "syntax checking"

Dr_John

Member
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
 

Dr_John

Member
Thanks, I see we now (version4.1.10) have command name testing on the entry of subroutine names.
Unfortunately the checking is done character-by-character, so that any subroutine name that simply starts with a reserved word is now illegal.
Thus: "onoff" (although a legal subroutine name) is impossible to enter as the popup prevents you entering any more than 2 characters!
I have had to resort to entering "oonoff" and then backspacing to delete the first "o".

Is there any way that this check can be made after the full name has been entered?

[Another hopelessly counter-intuitive behaviour of PE is that whilst using backspace deletes the charater to the left ofthe cursor, using the DEL reletes the whole flowchart box - most annoying]
 
Top