Lexikos/AutoHotkey_L — pull request #10 by maul-esel (2012-03-07 20:28:02+00:00)
Title: ComObjArray - add support for specifying lower bounds

Hi,

I just added a small piece of code which allows to specify lower bounds for SAFEARRAYs created with `ComObjArray()`. Syntax is quite easy and intuitive:

```ahk
arr := ComObjArray(0xC, "1..5", "4..6", 5, "2..8")
```

As in the example, it might be mixed with the traditional (specifying element count only). I hope the code is not too bad :)
If the upper bound is lower or equal to the lower bound, right now it silently falls back to 0. Should that be changed? Should an error be thrown?

Regards
maul.esel