Table of Contents

Return statement cannot contain variable declaration sign or pipe operator (AJTERR10062)

Product(s) Karo.Net Compiler

Description

A return statement (that starts with !) cannot simultaneously be a pipe statement or a variable declaration.

!10 -> io:out();
//  ^^ Pipe operator statement cannot be combined with a return statement.

How can I resolve this error?

Split up the two statements.