C/AL Keywords

Keywords are predefined reserved words that have special meanings to the compiler. They cannot be used as variable or function names in your application code.

Keywords are one of the elements that make up C/AL statements.

C/AL Keywords

The following table lists the keywords in C/AL.

Keyword For more information

ASSERTERROR

C/AL ASSERTERROR Statements

BEGIN

C/AL Compound Statements

CASE

C/AL Conditional Statements

DO

C/AL Repetitive Statements

DOWNTO

C/AL Repetitive Statements

ELSE

C/AL Conditional Statements

END

C/AL Compound Statements

EXIT

C/AL Repetitive Statements

FOR

C/AL Repetitive Statements

IF

C/AL Conditional Statements

OF

C/AL Conditional Statements

REPEAT

C/AL Repetitive Statements

THEN

C/AL Conditional Statements

TO

C/AL Repetitive Statements

UNTIL

C/AL Repetitive Statements

WHILE

C/AL Repetitive Statements

WITH

C/AL WITH Statements

See Also

Concepts

C/AL Reserved Words
Elements of C/AL Expressions