Home

Lines should not be too long

Rule description

  • Lines should not be too long

 

Non-compliant Code Example

global type t_ole32_externalfunctions from function_object
end type

forward prototypes

SUBROUTINE CoInitializeSecurityAlias(string uExitCode) LIBRARY "ole32.dll" ALIAS FOR "CoInitializeSecurity" //Non compliant code (Line length should be less than 100)
SUBROUTINE CoInitializeSecurity(string uExitCode) LIBRARY "ole32.dll"
SUBROUTINE CoSetProxyBlanket(string uExitCode) LIBRARY "ole32.dll"

function string setPermission(string as_string)

end prototypes

function string setPermission(string as_string)

// alias function
CoInitializeSecurityAlias(as_string)

// same named 
CoInitializeSecurity(as_string)

CoSetProxyBlanket(as_string)

Return as_string
end function
Visual Expert 2020
 VEPBRULE68