Just noticed this inconsistency with error handling, when using Execute.
Maybe this is common knowledge?
It seems AutoIt does not handle errors when using Execute, but only for the most recent usage? some internal flag being toggled on call and reset on first return?
Code without using Execute:
Func a()
Local $a = [123]
Return $a[0][1]
EndFunc
a()
Result:
Array variable has incorrect number of subscripts or subscript dimension range exceeded.: