identificationdivision. program-id. fsm. * aus Dirk Hoffmann, * Software-Qualität * p340ff, Springer 2008 author. "JD". date-written. 28.1.2009. date-compiled. datadivision. working-storagesection.
78 V-INITIAL value 0.
78 V-EOF value -1.
77 state pic S9(4).
77 acce pic S9(4).
77 c pic S9(4). linkagesection.
77 r pic S9(4). proceduredivisionreturning r. move V-INITIAL to state. performwithtestafteruntil c= V-EOF movefunction next-character to c if c not = V-EOF then movefunction next-state(c, state) to acce end-if end-perform. move acce to r endprogram fsm.
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.