2023-07-17 08:18:42 +00:00
|
|
|
title: ImportVariables/WithSetWidgetsAndMacros
|
|
|
|
description: Import variables defined with a set widget without whitespace pragma
|
|
|
|
type: text/vnd.tiddlywiki-multiple
|
|
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
|
|
|
|
title: Output
|
|
|
|
|
|
|
|
\whitespace trim
|
|
|
|
\import Definitions
|
|
|
|
<$text text=<<name>>/>,
|
|
|
|
<$text text=<<address>>/>,
|
|
|
|
<$text text=<<one>>/>,
|
|
|
|
<$text text=<<two>>/>
|
|
|
|
+
|
|
|
|
title: Definitions
|
|
|
|
|
2024-03-10 15:03:52 +00:00
|
|
|
\whitespace trim
|
2023-07-17 08:18:42 +00:00
|
|
|
\define name() Bugs Bunny
|
|
|
|
\procedure address()
|
|
|
|
Bunny Hill
|
|
|
|
\end
|
|
|
|
|
|
|
|
<$set name="one" value="elephant">
|
|
|
|
<$set name="two" value="giraffe">
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
+
|
|
|
|
title: ExpectedResult
|
|
|
|
|
|
|
|
<p>Bugs Bunny,Bunny Hill,elephant,giraffe</p>
|