Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

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

Resolution: Rejected
Status: newclosed
Version: 3.3.2.0

I guess you didn't bother to read this very large message in the documentation?

Warning: This feature is experimental. It may not work, may contain bugs or may be changed or removed without notice. USE AT YOUR OWN RISK.

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.

comment:2 by Valik, 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 trancexx, 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.


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.