updated to darker color
This commit is contained in:
parent
bd7ea0e118
commit
ccdaa1e08e
20 changed files with 57 additions and 57 deletions
|
|
@ -11,14 +11,14 @@ _Created by waldo, Described by waldo_
|
|||
When you perform a "DeleteAll" when there is nothing to delete, it will still perform a lock. When you for example perform a DeleteAll on an empty table, it will result in a table lock.
|
||||
Therefore it's good practice to always check if the table is empty when performing a DeleteAll.
|
||||
|
||||
## <span style="color:red">Bad code</span>
|
||||
## <span style="color:FireBrick">Bad code</span>
|
||||
|
||||
```al
|
||||
EmptyTableWLD.SetRange(Code, 'AJ');
|
||||
EmptyTableWLD.DeleteAll(true);
|
||||
```
|
||||
|
||||
## <span style="color:lime">Good code</span>
|
||||
## <span style="color:ForestGreen">Good code</span>
|
||||
|
||||
```al
|
||||
EmptyTableWLD.SetRange(Code, 'AJ');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue