Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2800 closed Bug (No Bug)

Too long lines

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: 3.3.13.5 Severity: None
Keywords: Cc:

Description

Local $array [1000] = [1, 2, 3, 4, 5, ..., 834, 835, 836]

One more element, and the interpreter refuses to execute it. The same can be achieved by prepending indentation.

Au3Check.exe doesn't complain.

Attachments (0)

Change History (2)

comment:1 by Matt Diesel, 12 years ago

Resolution: No Bug
Status: newclosed

This is a known, and documented, AutoIt limit.

See MAX_LINESIZE: https://www.autoitscript.com/autoit3/docs/appendix/LimitsDefaults.htm

There was a change last year that removed the limitation for a line of code, as long as the line wasn't physically longer than 4096. So if your longer line was split up with _ line breaks it should be ok I think.

Jon has said on a couple of occasions when this has come up in the past that he has no intention of raising/removing the limit.

in reply to:  1 comment:2 by anonymous, 12 years ago

Jon has said on a couple of occasions when this has come up in the past that he has no intention of raising/removing the limit.

Sorry, I missed that.

There was a change last year that removed the limitation for a line of code, as long as the line wasn't physically longer than 4096. So if your longer line was split up with _ line breaks it should be ok I think.

Then I'll have to write a lexer that adds underscores to these generated lines and then prints the lexemes? :-(

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.