SA0123: Usages of INI, ADR or BITADRPermalink

Detects the use of the CODESYS-specific operators ‎INI‎, ‎ADR‎, and ‎BITADR‎

Justification: CODESYS-specific operators prevent the portability of code.

Importance: Low

Example

PROGRAM PLC_PRG
VAR
	uiTemp: UINT;
	TempVarInFUNC: DWORD;
END_VAR

TempVarInFUNC := ADR(uiTemp);		//SA0123

--> SA0123: Operator 'ADR' not allowed