rspec/rules/S2800/rpg/rule.adoc

24 lines
452 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
``++IMPORT++``ed values should be treated as read-only. Doing otherwise could result in unpleasant surprises down the line.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
D VAR2 S 5 0 IMPORT
* Noncompliant
C MOVE MYVAR VAR2
C/FREE
// Noncompliant
VAR2=MYVAR;
/END-FREE
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::rspecator-view[]