1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-08 19:09:57 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/pragmas/Pragma_ _parameters.tid
jeremy@jermolene.com 55e38eb89a Update modification times of doc tiddlers
So that they are at the top of the recent tab
2023-04-19 11:32:34 +01:00

19 lines
553 B
Plaintext

created: 20220917113154900
modified: 20230419103154329
tags: Pragmas
title: Pragma: \parameters
type: text/vnd.tiddlywiki
<<.from-version "5.3.0">> The ''\parameters'' [[pragma|Pragmas]] is used within [[procedure|Procedure Definitions]] and [[widget|Widget Definitions]] definitions to declare the parameters that are expected, and their default values. It is a shortcut syntax for the ParametersWidget.
```
\parameters (<name>[:<default-value>],<name>[:<default-value>]...)
```
For example:
```
\parameters (firstname:"Joe",lastname:"Blogs")
```