E3007 Type Errors

cannot-convert-array

cannot convert array to scalar

When this occurs

`int(myArray)`

Example error message

error[E3007]: cannot convert ARRAY to int

How to fix

Arrays cannot be converted to scalar values. Access individual elements instead.

Related errors

No related errors.