I get this error when trying to use :
l := length( str ) ;
- (E159) The length() compiler magic function expects an array, System.Array, ICollection or ICollectionimplementation.
I also have problems with incompatibility of Char and Sugar.String. After referencing sugar to my project I get :
- (E62) Type mismatch, cannot assign “java.lang.String” to “String” at method declaration, e.g.
function HttpFetch( const _url : String = ‘’ ) ;
- (E62) Type mismatch, cannot assign “RemObjects.Oxygene.System.Char” to "String"
str := ‘N’ ;
- (E406) No overloaded method “xxx” with these parameters, best matching overload is "method xxx(value: java.lang.String)"
for most of my methods using String as parameter.