# Compiler messages: syntax

> AlgoBarsX compiler messages about syntax, with what each code means and the real message where there is one: AS0010, AS0011, AS0012, AS0013, AS0014, AS0015, AS0016.

Source: https://algobarsx.com/docs/diag-syntax/

###  AS0010 `expected`

###  AS0011 `missing_colon` error

Missing ":" after the rule condition.

**Quick fix** Insert ":"

###  AS0012 `missing_header` error

A script starts with its type and a name, such as strategy "My Strategy" or indicator "My Indicator".

###  AS0013 `no_effect`

###  AS0014 `bad_version`

###  AS0015 `unknown_modifier`

###  AS0016 `expected_block` error

Put what the rule does on indented lines below.

###  AS0017 `bad_target`

###  AS0018 `stray_indent`
