LoginSignup
0
0

dockerでBASIC:error編:docker(119)

Last updated at Posted at 2021-05-05

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.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0