1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +00:00

Update Procedures.tid (#8273)

Clarifying of the "tip" assuming this is what the tip is after.
This commit is contained in:
twMat 2024-06-18 19:17:29 +02:00 committed by GitHub
parent fdb86e7881
commit 2f4c21e374
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,12 +18,13 @@ The name wrapped in double angled [[brackets|Brackets]] is a shorthand way of [[
```
<<my-procedure>>
<<my-procedure "The parameter">>
<<my-procedure parameter:"The parameter">>
```
The parameters that are specified in the procedure call are made available as variables.
<<.tip """If a procedure has more than 1 parameter, it is highly encouraged to use "named parameters", as shown in the second example above. Even if it is more to type, it will pay off in the long run.""">>
<<.tip """If a procedure has more than one parameter, it is highly encouraged to use "named parameters", as shown in the third example above and in contrast to the second example. Even if it is more to type, it will pay off in the long run.""">>
!! How Procedures Work