CompileErrors/A0014: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{CompileError |errortext = A0014 - Illegal control character in literal; use ASCII instead. |description = Literals are not allowed to have embedded control characters (such ..." |
No edit summary |
||
| Line 5: | Line 5: | ||
|examplecode = 'Beep: ␇' { A0014 - Illegal control character in literal; use ASCII instead. } | |examplecode = 'Beep: ␇' { A0014 - Illegal control character in literal; use ASCII instead. } | ||
|resolutiontext = Remove the control character from the literal. Ordinarily, replacement with [[ASCII]] is preferred. | |resolutiontext = Remove the control character from the literal. Ordinarily, replacement with [[ASCII]] is preferred. | ||
|resolutioncode = 'Beep: ' ASCII('7') | |resolutioncode = 'Beep: ' ASCII('7') { No error } | ||
}} | }} | ||
Latest revision as of 01:36, 14 January 2015
A0014 - Illegal control character in literal; use ASCII instead.
Description
Literals are not allowed to have embedded control characters (such as NUL, BEL, or TAB). This error indicates that such a literal has been found.
Example of Cause
The following literal contains a BEL character.
'Beep: ␇' { A0014 - Illegal control character in literal; use ASCII instead. }
Resolution
Remove the control character from the literal. Ordinarily, replacement with ASCII is preferred.
'Beep: ' ASCII('7') { No error }