0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

could not open display: Success dockerでBASIC:error(44) 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

注釈なんだから実行しないと思うんですが。

Reference

Error一覧 error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.

文書履歴(document history)

ver. 0.01 add URL 20240510

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?