Ticket #1520: test.au3

File test.au3, 147 bytes (added by snarks@…, 12 years ago)

Test case showing that an array which has its last element removed cannot have a new element added

Line 
1#include <Array.au3>
2Dim $array[1]=["One Element"]
3_ArrayDelete($array,0)
4_ArrayAdd($array,"Replacement Element")
5MsgBox(0,"Array",$array[0])