Reputation: 1
I have migrated a project from PowerBuilder version don't know to PowerBuilder version 2021. While regenerating one the windows in one of the libraries; I get an error that says: "Mixing array and non-array in assignment statement". Tracing this error in the open event of the window takes me to this line(s):
in line one I get this error: "C0070: Mixing array and non-array in assignment statement." line 2 this one: "C0068: Illegal use of array in expression" and line 3 the same as #2: "C0068: Illegal use of array in expression"
Any help would be really appreciated since I'm using a paid library to convert datawindows to excel files(with keeping the format) and now this library is useless.
p.s. parm is a global variable in the open event of the same window with the type of nonvisualobject.
Upvotes: 0
Views: 197
Reputation: 2397
Here is an example of this error
string ls_not_array
string ls_is_array[]
ls_is_array = ls_not_array
So somewhere in your scripts there is a method expecting an array and it's being sent a non-array (or vice versa) or some other type of assignment error exists.
Upvotes: 0