https://www.youtube.com/watch?v=uq4dFwx9mts

A use case: finding a workaround for wwwBASIC not allowing the use of 
variables for array dimension sizes, i.e. not allowing "x = 4 : DIM 
this_array(x)"

TiddlyWiki to the rescue !

And while I was at it, I decided to show some more TiddlyWiki goodness in 
(revised from a video back in early December) the following code:

```
'🟠 DECLARATIONS
option base 1
dim MarxBro$({{{ [tag[Marx Brother]count[]] }}})
MarxBroCount = {{{ [tag[Marx Brother]count[]] }}}
'
'🟠 MAIN PROGRAM
restore MarxBrothers
for i = 1 to MarxBroCount
read MarxBro$(i)
next i
'
print "The source data (transclusion of tiddler titles from TiddlyWiki: "
print "{{{ [tag[Marx Brother]] +[sort[]] +[join[,]] }}}" : print : print
print "Now, the values stored in the array:"
for i = 1 to MarxBroCount
print "MarxBro$(" + i + ") = " + MarxBro$(i)
next i
end
'
'🟠 DATA
MarxBrothers:
DATA {{{ [tag[Marx Brother]] +[sort[]] +[join[,]] }}}
```

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bc936540-8edb-4b08-becf-95dbf2116608n%40googlegroups.com.

Reply via email to