Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#154 closed Bug (No Bug)

Error : Can not redeclare a constant

Reported by: eyjerome@… Owned by:
Milestone: Component: AutoIt
Version: 3.2.10.0 Severity:
Keywords: Cc:

Description

Hello !

I'm a new user of AutoIt (3.2.10.0). For start, i used the help file. But, when i use the sample script of the function _ArrayAdd (or other) :

#include <Array.au3>
Dim $avArray[10]
$avArray[0] = "JPM"
$avArray[1] = "Holger"
$avArray[2] = "Jon"
$avArray[3] = "Larry"
$avArray[4] = "Jeremy"
$avArray[5] = "Valik"
$avArray[6] = "Cyberslug"
$avArray[7] = "Nutster"
$avArray[8] = "JdeB"
$avArray[9] = "Tylo"
_ArrayDisplay( $avArray, "Whole array" )
_ArrayAdd( $avArray,"Brian")
_ArrayDisplay( $avArray, "Updated Array" )

I get :

Files\AutoIt3\Examples\Helpfile\_ArrayAdd.au3"    
C:\PROGRAM FILES\AUTOIT3\Include\Memory.au3 (56) : ==> Can not redeclare a constant.: 
Global Const $PROCESS_TERMINATE = 0x00000001 
Global Const ^ ERROR
>Exit code: 1    Time: 3.380

Can I make an error or is this a bug ?

Thanks (and sorry for my english ;-) )

Jérôme

Attachments (0)

Change History (3)

comment:1 by J-Paul Mesnage, 18 years ago

Resolution: No Bug
Status: newclosed

using your info cannot reproduce the problem. perhaps reinstallation of AutoIt can solve your problem

comment:2 by Valik, 18 years ago

This is a support question, ask it on the forum, not here.

in reply to:  2 comment:3 by anonymous, 18 years ago

Replying to Valik:

This is a support question, ask it on the forum, not here.

I uninstall and reinstall autoit. The problem persists.

I will try the forum.

Thank you for your response to every two.

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.