I am having trouble relating what I know in a large number of
programming languages to the syntax and semantics of the 
tiddler language.

For example, after searching for about half an hour I could not
find out how to perform an if-then-else operation.

Since 95% of all imperative programs are made
by assigning values (simple and complex) to variables,
unpacking these and performing conditionals, loops and
function calls I'd like to see exactly how to perform
these operations in a tiddler.

If I were writing a book on programming I'd start
with variables and values and move on to conditionals
and loops, then show how to write procedures.

So far it is unclear to me how to do these things in the TW language.

So, what is the equivalent tiddler code to perform the following
operations in a conventional programming languages?

1) Set a variable to a simple value and use the value

2) Set a variable to a complex value  and use the complex value

3) Perform an if-then-else or switch operation

4) Execute a loop

5) Define a local (to the tiddler) subroutine and call it

6) Define a global subroutine and call it

It seems to me that a simple table with two columns
showing in the left hand a common a common programming
construct and the right hand side the equivalent Tiddler code would
made TW a lot easier to lean.

Cheers

/Joe




-- 
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/a9969177-7d46-4ec7-a131-06e4552b49a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to