Wikitext isn't a Turing completely language, there aren't necessarily 
equivalents to what you are talking about. TiddlyWiki has very few 
attributes of a normal programming language, I don't think that tiddlywiki 
has the equivalent of a procedure from an imperative programming language. 
You can use javascript in tiddlywiki, but in that case it is javascript, 
not anything specific to tiddlywiki.

TiddlyWiki does allow a lot of flexibility using recursion and, in my 
opinion at least, is something like declarative or functional programming.


That said, you can do if-then-else using lists like this:

<$list filter='condition statement' emptyMessage=<<Else result>>>
Than result
</$list>

as long as you can define your condition as a filter that returns one or 
more results if true and no results if false. If you are comfortable with 
set theory than the filtering operations in tiddlywiki are very powerful.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/e2383658-71dc-4c04-908a-f4dbc6698759%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to