updated to darker color
This commit is contained in:
parent
bd7ea0e118
commit
ccdaa1e08e
20 changed files with 57 additions and 57 deletions
|
|
@ -8,7 +8,7 @@ _Created by Microsoft, Described by waldo_
|
|||
|
||||
Only use begin..end to enclose [compound statements](https://docs.microsoft.com/en-us/cpp/c-language/compound-statement-c?view=msvc-170#:~:text=A%20compound%20statement%20%28also%20called%20a%20%22block%22%29%20typically,appear%20at%20the%20head%20of%20a%20compound%20statement.).
|
||||
|
||||
## <span style="color:red">Bad code</span>
|
||||
## <span style="color:FireBrick">Bad code</span>
|
||||
|
||||
```AL
|
||||
if FindSet() then begin
|
||||
|
|
@ -18,7 +18,7 @@ if FindSet() then begin
|
|||
end;
|
||||
```
|
||||
|
||||
## <span style="color:lime">Good code</span>
|
||||
## <span style="color:ForestGreen">Good code</span>
|
||||
|
||||
```AL
|
||||
if FindSet() then
|
||||
|
|
@ -27,7 +27,7 @@ if FindSet() then
|
|||
until next() = 0;
|
||||
```
|
||||
|
||||
## <span style="color:red">Bad code</span>
|
||||
## <span style="color:FireBrick">Bad code</span>
|
||||
|
||||
```AL
|
||||
if IsAssemblyOutputLine then begin
|
||||
|
|
@ -35,7 +35,7 @@ if IsAssemblyOutputLine then begin
|
|||
end;
|
||||
```
|
||||
|
||||
## <span style="color:lime">Good code</span>
|
||||
## <span style="color:ForestGreen">Good code</span>
|
||||
|
||||
```AL
|
||||
if IsAssemblyOutputLine then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue