Table of Contents

You cannot use pipes when assigning a variable or returning a value (AJTERR10016)

Product(s) Karo.NET Compiler

Description

Using pipes are not allowed in assignment statements.

hello: string := "world" -> string:toUpper();
//                       ^^  Pipe operator here is not allowed.
!"world" -> string:toUpper();
//       ^^  Pipe operator here is not allowed.

How can I resolve this error?

Do not use pipes here.