Modify ↓
#1357 closed Feature Request (Rejected)
New concatenation operator for Static
| Reported by: | trancexx | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Special concatenation operator with new Static is missing.
This shows the problem:
For $i = 0 To 100 ConsoleWrite(StringLen(_String()) & @CRLF) Next Func _String() Local Static $sString = "Variable That Would Exceed Script Line Limit If It's All Here" $sString &= "The Rest Of The Variable" ; <- This adds over and over Return $sString EndFunc
Attachments (0)
Change History (3)
comment:1 by , 16 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
| Version: | 3.3.2.0 |
comment:2 by , 16 years ago
Also, I just grasped what you wanted. Absolutely positively not. This is such a terrible idea to work around a problem that's completely unrelated. Just, no.
comment:3 by , 16 years ago
I just pointed to a possible problem that could come up when, and if, Static would be non-experimental. This appeared to be the best place to do that.
You didn't see that? Don't bother answering. I did.
Sorry for possible inconvenience. Wasn't intended.
Note:
See TracTickets
for help on using tickets.

I guess you didn't bother to read this very large message in the documentation?
The feature is not complete, it contains bugs. Asking for new functionality for a feature that isn't even complete is just... annoying. Please wait until the feature is actually fully supported before trying to discuss it.