#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:3 by , 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 , 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 , 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 , on Sep 25, 2014 at 8:20:51 PM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |

Isn't IsDeclared enough for handling this situation?