Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Multiple value under one variable declare?

$
0
0
Hi,

Is there anyway to declare a single variable with multiple value under it? Something like the example code;
$ext=386, 3g2, acl, aac
$var=RegRead("HKEY_CLASSES_ROOT\." & $ext, "")


What I want to achieve is to have RegRead read the key HKEY_CLASSES_ROOT\.386 one time, follow by HKEY_CLASSES_ROOT\.3g2 one time, follow by HKEY_CLASSES_ROOT\.aac one time, etc...

The reason is I have near to 100 of such value and I don't want to declare them 100 times. Any help is much appreaciated. Thanks.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>