Jump to content
Sign in to follow this  

How to get this working $array["foo"] = "bar"

Recommended Posts



I've been developing applications and scripts in several languages. Now I'm working with AutoIT and each day again its functionality is amazing me!

Now I woud like to have something like:

$array["foo"] = "bar"
$array["me"]  = "mine"

msgbox(4096,"Test", $array["foo"])

Like this it's not possible, but does someone knows of a library that adds this functionality? Or a work around?

I've a list of files and their md5-hashes, I would like to check easily if the where changed. In php or perl I could do something like

If $oldMD5["c:\autoexec.bat"] == md5("c:\autoexec.bat") Then
   msbox(4096,"File not changed","Autoexec.bat")

Any input would be very appreciated!

PS. Don't worry about the md5, this part is already fixed.

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