then your code is just wrong, point
works without any problems.
Most likely because you put the :string behind it thought it is no :string, its :string[] which is something elementally different (actually a different class! :Array)
SuperStrict Global Functions :String[30] Global NumFunctions:Int = 20 Functions = New String[NumFunctions] addfunction("test") addfunction("gaga") addfunction("i just did it wrong again!") Delay 2000 End Function AddFunction(FunctionName:String) NumFunctions:+1 Functions = Functions[..NumFunctions] Functions[NumFunctions - 1] = FunctionName Print Functions[NumFunctions - 1] End Function
works without any problems.
Most likely because you put the :string behind it thought it is no :string, its :string[] which is something elementally different (actually a different class! :Array)