Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.08 KB

File metadata and controls

37 lines (31 loc) · 1.08 KB
title description ms.author ms.date ms.topic author ms.reviewer
CodeCop Warning AA0073
Only temporary variable names must be prefixed with Temp.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

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;

See Also

CodeCop Analyzer
Get Started with AL
Developing Extensions