編集

Compiler Error AL0114

Note

The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!

Syntax error, integer literal expected. Provide a numeric value (e.g., 0, 1, 42).

How to fix this diagnostic?

This error means the compiler expected a whole number, but found a different kind of value. It usually happens when a numeric property or argument gets a quoted or non-numeric value.

To fix it, provide an unquoted integer literal where a number is required. For example, use 1000 instead of '1000', and make sure the value isn't a text string, decimal, or expression when an integer is expected.

Get Started with AL
Developing Extensions