Modify

Opened 6 years ago

Closed 4 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 Changed 6 years ago by TicketCleanup

  • Version 3.3.14.0 deleted

Automatic ticket cleanup.

comment:2 Changed 4 years ago by Jpm

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 Changed 4 years ago by Jpm

  • Resolution set to Rejected
  • Status changed from new to closed

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.