Discussions

SmileBASIC Community

Lego-meistLegos-Meister

01/21/2016 10:57 AM ·Spoilers

Open Closed

Finding Array Size

After using SHIFT and PUSH and UNSHIFT and all those commands, I want to know how big my array is. Is there an command for that?

Advertisement

Comment

This post has no comments.

  • Well looks like I answered my own question in 30 seconds flat. LEN() will give you the length of the array, as in this example: DIM STUFF[10] PRINT LEN(STUFF)

    Yeahs1
    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-BXM-ZM98-6R8-9JV3

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: