Jump to content

Recommended Posts

Posted (edited)

Example of 3D array.

Dim $Var[3][2][4] = [[['000', '001', '002', '003'], ['010', '011', '012', '013']], _
                     [['100', '101', '102', '103'], ['110', '111', '112', '113']], _
                     [['200', '201', '202', '203'], ['210', '211', '212', '213']]]

For $i = 0 To UBound($Var, 1) - 1
    For $j = 0 To UBound($Var, 2) - 1
        For $k = 0 To UBound($Var, 3) - 1
            ConsoleWrite(($i & $j & $k) & ' => ' & $Var[$i][$j][$k] & @CR)
        Next
    Next
Next
Edited by Yashied

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...