Help with code that is not working correctly

Sorry, but the return type of "Seria.read" is "int".

OP, what observations have you made?
What else have you tried?