From ff48e1a941079039cd0db4288a72ffe69fd889ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Maro=C5=84?= Date: Wed, 15 Dec 2021 07:55:39 +0100 Subject: [PATCH] sadly, exit with empty () does not compile --- .../Readability/one-statement-per-line/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/BCBestPractices/Readability/one-statement-per-line/index.md b/content/BCBestPractices/Readability/one-statement-per-line/index.md index 6ac25caa..e0bc59e0 100644 --- a/content/BCBestPractices/Readability/one-statement-per-line/index.md +++ b/content/BCBestPractices/Readability/one-statement-per-line/index.md @@ -19,7 +19,7 @@ A line of code should not have more than one statement. ```al if OppEntry.Find('-') then - exit(); + exit; ``` ## Bad code @@ -40,4 +40,4 @@ A line of code should not have more than one statement. You can find discussions on all "Best Practices" [here](https://github.com/microsoft/alguidelines/discussions/categories/bc-best-practices). -If you don't find the discussion of this guideline, please feel fee to create a new one with the same title as this article. \ No newline at end of file +If you don't find the discussion of this guideline, please feel fee to create a new one with the same title as this article.