ϧʹॻ͔ΕͨίϚϯυΛಡΈऔΓ લޙࠨӈ ʹGMJQ ฦΓ Λ܁Γฦ͠·͢ɻ • $0#0-ͷಛͱͯ͠ɺՄಡੑͷߴ͕͞ڍ ͛ΒΕ·͢ɻࠓճөͰ͖·ͤΜͰͨ͠ ͕ɺՄಡੑΛߴΊΔΑ͏ͳ$0#0-ϥΠϒ ϥϦ͕ఏڙ͞ΕΕɺద༻͕͕Δ͔ ͠Ε·ͤΜɻ IF WIN = 1 OPEN INPUT DATA-FILE PERFORM UNTIL 1 = 0 READ DATA-FILE AT END DISPLAY "at end" EXIT PERFORM END-READ EVALUATE code-statement WHEN "East" DISPLAY "East" CALL "drone_flip" USING BY VALUE 1 CALL "lib_sleep" USING BY VALUE 3 WHEN "West" DISPLAY "West" CALL "drone_flip" USING BY VALUE 0 CALL "lib_sleep" USING BY VALUE 3 WHEN "North" DISPLAY "North" CALL "drone_flip" USING BY VALUE 2 CALL "lib_sleep" USING BY VALUE 3 WHEN "South" DISPLAY "South" CALL "drone_flip" USING BY VALUE 3 CALL "lib_sleep" USING BY VALUE 3 WHEN OTHER DISPLAY "other" EXIT PERFORM END-EVALUATE END-PERFORM CLOSE DATA-FILE END-IF 勝利の舞 COBOLコード