Hi @David-san,
Yep, this is how I do it now. The reason I asked is that it needs a separate implementation for Strings, Doubles and MIDI messages etc. So it would be handy if it was an overloaded GPScript function. I’ll file a feature request.
Function compareIntegerArrays(A: Integer Array, B : Integer Array) returns Boolean
// Returns True if both arrays are of the same size and contain the same data
var i : Integer // index
If Size(A) != Size(B) Then
result = False
Else
result = True
For i = 0; i < Size(A); i = i + 1 Do
If A[i] != B[i] Then
result = False
End
End
End
End