Updated some casing mistakes

This commit is contained in:
Stefan Maroń 2021-12-15 07:49:06 +01:00 committed by GitHub
parent 72134d6af8
commit a83d00e8a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ end;
## Good code
```AL
IF FindSet() then
if FindSet() then
repeat
...
until next() = 0;
@ -29,7 +29,7 @@ IF FindSet() then
## Bad code
```AL
IF IsAssemblyOutputLine then begin
if IsAssemblyOutputLine then begin
TestField("Order Line No.",0);
end;
```
@ -37,7 +37,7 @@ end;
## Good code
```AL
IF IsAssemblyOutputLine then
if IsAssemblyOutputLine then
TestField("Order Line No.",0);
```
@ -45,8 +45,8 @@ IF IsAssemblyOutputLine then
```AL
// Except for this case
IF X then begin
IF Y then
if X then begin
if Y then
//DO SOMETHING;
end else
(not X)