rspec/rules/S1134/vb6/non-compliant-example.adoc
Cristian Ambrosini aaa468bf3a
Modify rule S1134: Update to LaYC (#2189)
I removed abap, flex, pli and rpg dummy implementations since they're
not implemented in the corresponding analyzer and there are no tickets
open to do so.
2023-06-14 14:23:44 +02:00

7 lines
254 B
Plaintext

[source,vb6]
----
Rem FIXME: Add documentation - Noncompliant
Function Divide(ByVal Numerator As Integer, ByVal Denominator As Integer) As Integer
Divide = Numerator / Denominator ' FIXME: Denominator value might be 0 - Noncompliant
End Function
----