Modify

#2894 closed Feature Request (Rejected)

Assign - new flag - static

Reported by: mLipok Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

Please add new flag 'Static'
I'am thinking about posibility to dynamicaly creating Static Local variable based on paramters passed to my function.

Attachments (0)

Change History (6)

comment:1 by jchd18, on Sep 19, 2014 at 12:28:25 PM

Isn't IsDeclared enough for handling this situation?

comment:2 by mLipok, on Sep 19, 2014 at 12:45:41 PM

I make an example , but now I'am busy at work.

comment:3 by anonymous, on Sep 19, 2014 at 12:52:09 PM

Isn't it better to create a static map of these variables? You cannot list the names of static variables.

comment:4 by BrewManNH, on Sep 23, 2014 at 9:10:42 PM

How exactly would a dynamically created static variable be used in subsequent runs of the function? How would you be able to use them more than once without passing the variable names to the function over and over again? Wouldn't a Static Local Array work better, or as previously mentioned, a static map or scripting dictionary?

comment:5 by mLipok, on Sep 24, 2014 at 8:12:21 PM

I thought about it, I did few test, I try to make example, and finally realized that all that the concept is NOT so good.

please close.
and sorry for: if I bother your head in this case.

mLipok

comment:6 by BrewManNH, on Sep 25, 2014 at 8:20:51 PM

Resolution: Rejected
Status: newclosed

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.