Play Journal Entries

Petit computer 3

キルル2kiruru2

09/27/2017 7:56 AM ·Spoilers

グローバル文字列変数(画像ではFLAG$)をひとつ用意するだけで、たくさんのフラグ管理ができるものを作りました 使い方 FLAGSWITCH N,F FがTRUENならN個目のフラグを1にする FALSEなら0にする FLAGGET(N) N個目のフラグの値を取得する(フラグが立っていれば1、そうでなければ0)

Advertisement

Comment

This post has no comments.

  • なんとなく名称的に flagget/flagset がいいような気がしました

    Yeahs0
    Played
  • あ~確かにset/getの方がいいですね~

    Yeahs0
    Played
  • 私も以前実数型変数1個で63個のフラグ管理ができる関数を作りましたがFRAGREADとしました。 MIKIさんが書かれているようにFLAGGETの方がよかったかもしれないですね。

    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-7MA-KFUV

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: