Jump to content

MsgBox using an Array with an unknown size


Go to solution Solved by BlackDawn187,

Recommended Posts

Posted

Okay, So what I've been trying to accomplish is something like the following;

MsgBox(0, "Message", $Array[1] & @CRLF & $Array[2] & @CRLF & $Array[3])

Except, I don't know the size of the Array. So there could be 10 elements in the Array, But I still need the @CRLF afterwards. Specifically, I would like to define where the @CRLF is inserted as well. I've tried to make workarounds, By doing "_ArrayToString" and, Then using "_StringInsert($Array, @CRLF, $Increment)". But, For the life of me I can't come up with a solution right now.

Can anyone offer some help?

Posted

Okay, So what I've been trying to accomplish is something like the following;

MsgBox(0, "Message", $Array[1] & @CRLF & $Array[2] & @CRLF & $Array[3])

Except, I don't know the size of the Array. So there could be 10 elements in the Array, But I still need the @CRLF afterwards. Specifically, I would like to define where the @CRLF is inserted as well. I've tried to make workarounds, By doing "_ArrayToString" and, Then using "_StringInsert($Array, @CRLF, $Increment)". But, For the life of me I can't come up with a solution right now.

Can anyone offer some help?

 

Whats wrong with using _ArrayDisplay?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...