Opened 16 years ago

Closed 16 years ago

#312 closed Bug (No Bug)

Cannot create dynamic arrays $foo[$bar]

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


Since latest revision creating an array depending on another variable gives me the following error :"H:\l2j\Spawn Map\SpMap v0.2.au3 (98) : ==> Array variable subscript badly formatted.:
Dim $result2[$countspecies], $result3[$countspecies]
Dim $result2[ ERROR:

Attachments (0)

Change History (3)

comment:1 Changed 16 years ago by TicketCleanup

  • Severity changed from Blocking to None

Automatic ticket cleanup.

comment:2 Changed 16 years ago by Jon

I just tried this and it worked fine:

$val = 2
Dim $arr[$val], $arr2[$val]

comment:3 Changed 16 years ago by Jpm

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

$countspecies is certainly <=0

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

as closed The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.