CompileErrors/A0013

From Compost Wiki
Jump to navigation Jump to search

A0013 - Unexpected End-Of-Line in literal; use ASCII instead.

Description

Literals are not allowed to have embedded end-of-line markers. This error indicates that such a literal has been found; this is often the result of a missing ' character.

Example of Cause

This literal spans multiple lines.

'Line 1

Line 2' { A0013 - Unexpected End-Of-Line in literal; use ASCII instead. }

Resolution

Remove the linebreak from the literal. If the literal is intended for output, use the ASCII command or EOL to generate a linebreak instead.

'Line 1' ASCII('13')

'Line 2' { No error }