小编aID*_*rse的帖子

COBOL 中的命令等待?

COBOL 中是否有一种“等待”功能?我写了一个计算器,为了让它更 50 多岁,我打印了“计算”。“计算..” ecc 例如:

                   DISPLAY "SECONDO NUMERO"
                   ACCEPT B
                   COMPUTE C= A * B
                          DISPLAY "Computing"
                          DISPLAY "Computing."
                          DISPLAY "Computing.."
                          DISPLAY "Computing..."
                          DISPLAY "Computing...."
                          DISPLAY "Computing....."
                          DISPLAY "Computing......"
                          DISPLAY A "x" B " FA..."
                          DISPLAY C
Run Code Online (Sandbox Code Playgroud)

现在,有没有办法在我放置“计算”部分的 COBOL 上稍微延迟(半秒)?我为这个项目创建了一个 github repo ( https://github.com/aIDserse/Super-utility-Submachine-COBOL-CALCULATOR ),查看它(参考 1.3 版)以获得完整的代码(可能会传播它哈哈) . 谢谢!!!

cobol gnucobol

4
推荐指数
1
解决办法
895
查看次数

标签 统计

cobol ×1

gnucobol ×1