The dimensions of source arrays differ when assigning arrays.
Source arrays should have the same dimension to provide the correct array assignment.
Sub UserProc;
Var
s: Array[3] Of String;
s1: Array[3, 3] Of String;
Begin
s := s1;
End Sub UserProc;
When the specified code is compiled, the string s := s1; displays the following error: Incompatible array dimensions. To resolve the error, change the dimension of one of the arrays so that it matches dimension of the second array, for example: s: Array[3, 3] Of String;.
See also: