Thanks Jeremy!

Added to TW-Scripts.

On Saturday, April 6, 2019 at 1:11:55 PM UTC+4:30, Jeremy Ruston wrote:
>
> Hi Mohammad
>
>  I understood, the encourage is NOT to use global variable and seems 
> performance is here not a big issue!
>
>
> There is minimal processing at the point where a macro is defined; we just 
> save the text of the macro. It's only when the macro is used that its 
> content is parsed and rendered.
>
> Best wishes
>
> Jeremy.
>
>
> --Mohammad
>
> On Saturday, April 6, 2019 at 12:31:16 PM UTC+4:30, Jeremy Ruston wrote:
>>
>> Hi Tony 
>>
>> > Not avoiding duplicate names is the problem from which importvariables 
>> is a work around. 
>>
>> The purpose of importvariables is to allow macros to be local to a 
>> particular tiddler, giving much more flexibility in their reuse. Variables 
>> in TW are much like variables in an ordinary programming language in that 
>> we can reuse the same variable names in separate functions/tiddlers without 
>> them clashing. 
>>
>> Best wishes 
>>
>> Jeremy 
>>
>> > 
>> > Tony 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "TiddlyWiki" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to tiddl...@googlegroups.com. 
>> > To post to this group, send email to tiddl...@googlegroups.com. 
>> > Visit this group at https://groups.google.com/group/tiddlywiki. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/a0563edb-cc4c-44c2-a6b4-b5d060deb319%40googlegroups.com.
>>  
>>
>> > For more options, visit https://groups.google.com/d/optout. 
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddl...@googlegroups.com <javascript:>.
> To post to this group, send email to tiddl...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/42cbc1dd-0cf4-4515-bda2-69dbf7451e43%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/42cbc1dd-0cf4-4515-bda2-69dbf7451e43%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4c7158d2-0cda-4d16-bae2-532f42f1c2bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to