Play Journal Entries

Petit computer 3

かい7102KAI

10/07/2017 2:27 AM ·Spoilers

講座を参考にやっていて、エラーになって、66行目がおかしいみたいなんですけどこれって何の問題があるんですか。初心者なので分かりません。誰か教えてください。

Advertisement

Comment

This post has no comments.

  • もしかして: forでemx-1にしてない 添字は0始点なので 例えばemx=5なら i=0,1,2,3,4で i=5になったらNG

    Yeahs3
    Played
  • 配列の要素数が要因になっている以外に気になるのは、 「配列変数のEX[要素数]」と「変数のEX」が使われている事かな~。 72行目がEX[I]=EX[I]-ES[I]の様な気がしますよ?。 配列宣言をしている行(DIM EX[要素数])と 63行目、72行目を確認してみる事をオススメします。

    Yeahs3
    Played
  • ありがとうございます。 しかし、他のエラーで、あたりはんていがありません。どうすればいいのでしょうか。

    Yeahs0
    Played
  • 「他のエラー」の件は何とも言えませんが。。。 当り判定の部分の不可解な点なら・・・・ 83行目、84行目の EX[I] は EY[I] の 間違いなのではないかなぁ。。 と、感じるワケですが、如何なものでしょう?

    Yeahs0
    Played

Add a Comment

You must sign in to post a comment.

Sign in using a Nintendo Network ID to connect to users around the world by writing posts and comments and by giving Yeahs to other people's posts. You can create a Nintendo Network ID using your Wii U console or your system in the Nintendo 3DS family.

Use of Miiverse Details about Miiverse

Report Violation to Miiverse Administrators

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Post ID: 3DB-NBL7-DPU-2NL9-R9W-V6MU

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: