Modify

Opened 11 years ago

Closed 11 years ago

#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, 11 years ago

Isn't IsDeclared enough for handling this situation?

comment:2 by mLipok, 11 years ago

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

comment:3 by anonymous, 11 years ago

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

comment:4 by BrewManNH, 11 years ago

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, 11 years ago

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, 11 years ago

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.