mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 22:56:55 +01:00
Fix remaining READ-convention sample links across this PR's 18 articles
The same plain-backtick "See sample: \`x.good.al\`." form fixed on al-methods-limited-during-write-transactions (PR #161) turned up repo-wide on 15 more of this PR's articles - Knowledge-Retrieval.ps1 requires the markdown-link form to associate a sample with its article. All 16 fixed; the four local validators (frontmatter, knowledge-index, knowledge-retrieval, review-fixtures, skill-index) pass.
This commit is contained in:
parent
faa0bceb86
commit
b983a6da57
16 changed files with 32 additions and 32 deletions
|
|
@ -19,10 +19,10 @@ When a procedure declares a parameter with `var`, that parameter is passed by re
|
|||
|
||||
Declare a variable in the caller's scope and pass it to the `var` parameter.
|
||||
|
||||
See sample: `var-parameters-require-an-addressable-variable.good.al`.
|
||||
See sample: [`var-parameters-require-an-addressable-variable.good.al`](var-parameters-require-an-addressable-variable.good.al).
|
||||
|
||||
## Anti Pattern
|
||||
|
||||
Passing a literal or a computed expression to a `var` parameter position fails to compile, because neither has an address the callee can write back to.
|
||||
|
||||
See sample: `var-parameters-require-an-addressable-variable.bad.al`.
|
||||
See sample: [`var-parameters-require-an-addressable-variable.bad.al`](var-parameters-require-an-addressable-variable.bad.al).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue