Question: in python how do i add the commands into my program?: Error diagnostics must be reported if any of the following conditions are true: the
in python how do i add the commands into my program?:
Error diagnostics must be reported if any of the following conditions are true:
the command on a line is longer than 1 character;
an unknown command is encountered.
In both these cases, the error diagnostic message must report the error type and the input line number on which the error occurred. Erroneous lines are skipped and Picologo processing resumes with the next line. If the repeat count is nonzero when an error is encountered, the repeat count is reset to 1.
If errors have been encountered during Picologo processing, a summary message should be printed afterwards indicating how many errors were seen in the Picologo program. This summary message should not be printed if no errors were encountered.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
