Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.25 KB

CommonModuleMissingAPI.md

File metadata and controls

37 lines (28 loc) · 1.25 KB

Common module should have a programming interface (CommonModuleMissingAPI)

Description

A common module must have at least one export method and region "Public" or "Internal".

Examples

Incorrect

// Start module
Procedure Test(A)
    A = A + 1;
EndProcedure
// End module

Correct

// Start module
#Region Internal
Procedure Test(A) Export
    A = A + 1;
EndProcedure
#EndRegion
// End module

Sources

Source: Standard: Module structure (RU)