2020-06-30 12:47:33 +02:00
|
|
|
Using keywords as variable names may yield incomprehensible code, and should be avoided.
|
|
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
|
|
|
|
----
|
|
|
|
DATA: wa_struct TYPE struct,
|
|
|
|
name TYPE string,
|
|
|
|
dob TYPE string,
|
|
|
|
aliases TYPE string, " ALIASES is a keyword
|
|
|
|
----
|
|
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
|
|
|
|
----
|
|
|
|
DATA: wa_struct TYPE struct,
|
|
|
|
name TYPE string,
|
|
|
|
dob TYPE string,
|
|
|
|
alt_names TYPE string,
|
|
|
|
----
|
2021-06-02 20:44:38 +02:00
|
|
|
|
|
|
|
ifdef::rspecator-view[]
|
|
|
|
== Comments And Links
|
|
|
|
(visible only on this page)
|
|
|
|
|
|
|
|
include::../comments-and-links.adoc[]
|
|
|
|
endif::rspecator-view[]
|