Sign in to follow this  
Followers 0
TheDanishDragon

Dynamic needs...

3 posts in this topic

#1 ·  Posted (edited)

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 this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0