﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
154	Error : Can not redeclare a constant	eyjerome@…		"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"	Bug	closed		AutoIt	3.2.10.0		No Bug		
