# Dynamic needs...

## Recommended Posts

Hi AU3'ers

can someone explain what this means? I am new to auto it, so please mane a example out of it ^^

`Dim \$Grid[2][4]=[["Paul", "Jim", "Richard", "Louis"], [485.44, 160.68, 275.16, 320.00]]`

does it means that it create a 2*4 table? Anyway, how to connect paul and 485.44?

/TDD

Edited by TheDanishDragon

##### Share on other sites

It's a 2-dimensional array, read it as 2 rows with 4 fields.

```Dim \$Grid[2][4]=[["Paul", "Jim", "Richard", "Louis"], [485.44, 160.68, 275.16, 320.00]]
MsgBox(0,"",\$Grid[0][0] & @crlf & \$Grid[1][0])```

Keep in mind, that array are 0-based.

OS: Win10-1803 - 64bit - German, AutoIt Version: 3.3.14.5, AutoIt Editor: SciTE, Website: http://www.funk.eu, My unsolved Questions: Get default Window Size and Position, Rotate display by 270 degrees, Get Systray Icons, ...

##### Share on other sites

My goal with autoit is to make a equation library, and solver. So that you can store a formula such as: F=m*g

and have some values such as F,m and g - which is stored to a single line of text.

First off all i want to make a database, which contains all the units/prefixs/units.

My best gueas

```Dim \$DATABASE = {TPIC1{{ formula1| formula2|..}{prefix(unit)|prefix(unit)|prefix(unit)|..}}}
Eksample: Dim \$DATABASE = {Forces{{F=m*g}{F(N)|m(m)|g(m/s^2)}}{NEVERENDING}```

is it possible to sort those varriables into variables? After all, is there some way to separate them, think it's the best way to make a useful database atm. I use {} to separate the topics

## Create an account

Register a new account