dockerでBASIC:docker(116)
https://qiita.com/kaizen_nagoya/items/b08215976bf07c85ca45
manに出て来るsampleを動かしてみる。
sample1.bas
open window 100,100
open printer
circle 50,50,40
text 10,50,"Press any key to get a printout"
clear screen
inkey$
close printer
動かしてみた。
# yabasic sample1.bas
---Error in sample1.bas, line 2: could not open display: Success
open printer
^
---Error: Program stopped due to an error
エラー個所を# 注釈にした。
# yabasic sample1.bas
---Error in sample1.bas, line 8: syntax error
# close window
^
---Error: Program not executed
注釈なんだから実行しないと思うんですが。
最後までおよみいただきありがとうございました。
いいね 💚、フォローをお願いします。
Thank you very much for reading to the last sentence.
Please press the like icon 💚 and follow me for your happy life.