Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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.