1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 11:29:58 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/pragmas/Pragma_ _parameters.tid

19 lines
553 B
Plaintext
Raw Normal View History

created: 20220917113154900
2022-10-09 16:34:22 +00:00
modified: 20221009163301629
tags: Pragmas
title: Pragma: \parameters
type: text/vnd.tiddlywiki
2022-10-09 16:34:22 +00:00
<<.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.
2022-10-03 13:40:27 +00:00
```
\parameters (<name>[:<default-value>],<name>[:<default-value>]...)
```
For example:
```
\parameters (firstname:"Joe",lastname:"Blogs")
```