Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 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 follow-up: Changed 10 years ago by Mat

  • Resolution set to No Bug
  • Status changed from new to closed

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.

comment:2 in reply to: ↑ 1 Changed 10 years ago by anonymous

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? :-(

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.