Rediger

Del via


CodeCop Warning AA0073

The name of temporary variable must be prefixed with Temp.

Description

Only temporary variable names must be prefixed with Temp.

Reason for the rule

Temporary variables must be named with identifiers that abbreviate the word temporary, such as temp. This improves readability of the code.

Bad code example

JobWIPBuffer : Record "Job WIP Buffer" temporary;

Good code example

TempJobWIPBuffer : Record "Job WIP Buffer" temporary;

CodeCop Analyzer
Get Started with AL
Developing Extensions