Modify

#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 TicketCleanup, on Mar 3, 2019 at 1:00:01 PM

Version: 3.3.14.0

Automatic ticket cleanup.

comment:2 by Jpm, on Jan 3, 2021 at 4:01:56 PM

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 Jpm, on Feb 26, 2021 at 7:13:58 AM

Resolution: Rejected
Status: newclosed

no answer so I assume I am right!!!
so I close it

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.