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 , 11 years ago
comment:3 by , 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 , 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 , 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 , 11 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |

Isn't IsDeclared enough for handling this situation?