rspec/rules/S2028/rpg/rule.adoc
2022-02-04 16:28:24 +00:00

43 lines
887 B
Plaintext

The use of ``++UNDERLINE++`` makes normal text printed to the screen difficult to read, and prevents titles from being read at all. For these reasons, ``++UNDERLINE++`` should not be used.
== Noncompliant Code Example
[source,rpg]
----
R DETAIL1
* Noncompliant; next line contains UNDERLINE
NAME 25 2 2UNDERLINE
ADD1 25 3 2
R DETAIL3
ADD2 25 2SPACEB(1)
----
== Compliant Solution
[source,rpg]
----
R DETAIL1
NAME 25 2 2
ADD1 25 3 2
R DETAIL3
ADD2 25 2SPACEB(1)
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]