I've read up a bit on the sortlist command and I've setup a compare function but I'm getting really weird compile errors that I don't understand
With superstrict on I get "expression of type byte cannot be invoked". With suprstrict off I get "Identifier TPiece not found". Either way it won't compile. I've pretty much copied this straight out of all the tutorials and I've never had problems declaring an object as a type before so I'm more than a bit confused...
Type TPiece Field PieceDepth:Int Method Compare(Other:Object) If PieceDepth > TPiece(Other).PieceDepth Then Return 1 Else Return -1 End Method
With superstrict on I get "expression of type byte cannot be invoked". With suprstrict off I get "Identifier TPiece not found". Either way it won't compile. I've pretty much copied this straight out of all the tutorials and I've never had problems declaring an object as a type before so I'm more than a bit confused...