Skip to content
Permalink
Browse files

Update 27.md (#779)

Added examples for CLEAR and CHECK.
  • Loading branch information...
jwigert authored and larshp committed Oct 8, 2019
1 parent b7e63d7 commit ef3744271543298ad3e828fc817afd0fe03d70fa
Showing with 29 additions and 5 deletions.
  1. +29 −5 docs/_checks/27.md
@@ -24,10 +24,34 @@ ENDFORM.
```

#### Last statement is CLEAR or FREE
todo

```abap
...
DATA(bar) = `ABCD`.
...
CLEAR bar.
ENDFORM.
```
Can be reduced to
```abap
...
DATA(bar) = `ABCD`.
...
ENDFORM.
```
#### Last statement is CHECK or EXIT
todo

```abap
...
DATA(foo) = `foo`.
DATA(bar) = `bar`.
CHECK foo = bar.
ENDFORM.
```
Can be reduced to
```abap
...
DATA(foo) = `foo`.
DATA(bar) = `bar`.
ENDFORM.
```
### Configuration
![Configuration](/img/default_conf.png)
![Configuration](/img/default_conf.png)

0 comments on commit ef37442

Please sign in to comment.
You can’t perform that action at this time.