Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3773

Declare a Muli-Dimensional Dynamic Integer Array Public To The Window

$
0
0

Hello

This is a amateurish question with Multi-Dimensional Dynamic Arrays, I’ve only worked with single Dim Array() As Integer. I’m trying to declare a Multi-Dimensional Array with 3 integer elements Public to the window.

I’m going to dynamically populate it with the Error: Only works for one-dimensional arrays

Array.Add(Integer1, Integer2, Integer3)

I Tried:- Error.

Dim Array(, , ,) As Integer

Or In the Property Window:

Name: Array(, , ,)
Type: Integer
Default:
Scope: Public

Trying to understand the Xojo Doc Syntax below:

Var arrayName(size [, size2,…sizeN ]) As dataType

Can I get some help with the correct Syntax?

Thank You

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3773

Trending Articles