First pass conversion of NAV Patterns
This commit is contained in:
parent
1341938262
commit
6b32107a72
325 changed files with 11946 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
+++
|
||||
title = "unnecessary-function-parenthesis.md"
|
||||
weight = 1280
|
||||
+++
|
||||
Do not use parenthesis in a function call if the function does not have any parameters.
|
||||
Bad code
|
||||
|
||||
IF ReservMgt.IsPositive() THEN
|
||||
|
||||
|
||||
|
||||
Good code
|
||||
|
||||
IF ReservMgt.IsPositive THEN
|
||||
|
||||
|
||||
|
||||
Bad code
|
||||
|
||||
IF ChangeStatusForm.RUNMODAL() <\> ACTION::Yes THEN
|
||||
|
||||
|
||||
|
||||
Good code
|
||||
|
||||
IF ChangeStatusForm.RUNMODAL <\> ACTION::Yes THEN
|
||||
Loading…
Add table
Add a link
Reference in a new issue