Updated some casing mistakes
This commit is contained in:
parent
72134d6af8
commit
a83d00e8a2
1 changed files with 5 additions and 5 deletions
|
|
@ -20,7 +20,7 @@ end;
|
||||||
## Good code
|
## Good code
|
||||||
|
|
||||||
```AL
|
```AL
|
||||||
IF FindSet() then
|
if FindSet() then
|
||||||
repeat
|
repeat
|
||||||
...
|
...
|
||||||
until next() = 0;
|
until next() = 0;
|
||||||
|
|
@ -29,7 +29,7 @@ IF FindSet() then
|
||||||
## Bad code
|
## Bad code
|
||||||
|
|
||||||
```AL
|
```AL
|
||||||
IF IsAssemblyOutputLine then begin
|
if IsAssemblyOutputLine then begin
|
||||||
TestField("Order Line No.",0);
|
TestField("Order Line No.",0);
|
||||||
end;
|
end;
|
||||||
```
|
```
|
||||||
|
|
@ -37,7 +37,7 @@ end;
|
||||||
## Good code
|
## Good code
|
||||||
|
|
||||||
```AL
|
```AL
|
||||||
IF IsAssemblyOutputLine then
|
if IsAssemblyOutputLine then
|
||||||
TestField("Order Line No.",0);
|
TestField("Order Line No.",0);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -45,8 +45,8 @@ IF IsAssemblyOutputLine then
|
||||||
|
|
||||||
```AL
|
```AL
|
||||||
// Except for this case
|
// Except for this case
|
||||||
IF X then begin
|
if X then begin
|
||||||
IF Y then
|
if Y then
|
||||||
//DO SOMETHING;
|
//DO SOMETHING;
|
||||||
end else
|
end else
|
||||||
(not X)
|
(not X)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue