Opened 7 years ago
Closed 5 years ago
#3702 closed Feature Request (Rejected)
Make Execute capable of processing declarations
| Reported by: | jchd18 | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Execute variable declaration | Cc: |
Description
In some cases (not all completely obscure) it would be extremelly useful to be able to Execute a variable declaration. Think for instance when/if you have to declare an array having a number of dimensions variable across calls.
With this feature, we can build the needed declaration string and Execute it, covering all cases with short code. Lacking this, the code needs painful branches for all possible number of dimensions, $a[$d1] and $a[$d1][$d2] and $a[$d1][$d2][$d3], a.s.o.
Attachments (0)
Change History (3)
comment:1 by , 7 years ago
| Version: | 3.3.14.0 |
|---|
comment:2 by , 5 years ago
Hi sorry for this long delay, but I thing that using
Dim $a[$d1]
or
Dim $a[$d1][$d2]
or
Dim $a[$d1][$d2][$d3]
when needed do the job
no need to extend Execute()
Can you provide a more complete script which can describe what you need?
Thanks
Happy new year
comment:3 by , 5 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
no answer so I assume I am right!!!
so I close it

Automatic ticket cleanup.