read A$ while A$ <> "" i = i + 1 print "Brother " + i + ": " + A$ read A$ wend ********** *REM we can use either "wend" or "loop" with "while"* ********** DATA {{{ [tag[Marx Brother]sort[]join[,]] }}}
On Friday, December 3, 2021 at 8:42:09 PM UTC-4 Charlie Veniot wrote: > Just a little follow-up on wwwBasic language implementation. > > This code works A-1: > > read A$ > while A$ <> "" > i = i + 1 > print "Brother " + i + ": " + A$ > read A$ > loop > DATA {{{ [tag[Marx Brother]sort[]join[,]] }}} > > Me being a huge fan of BASIC, that just tickles me silly ... > On Wednesday, December 1, 2021 at 10:18:33 PM UTC-4 Charlie Veniot wrote: > >> BTW, I'm thinking of calling this "*BASIC Anywhere Machine*- wwwBasic >> augmented by TiddlyWiki". Comments/suggestions always welcome. >> >> Any part of a BASIC program dynamically generated by TiddlyWiki. Pretty >> awesome. >> >> Video: https://www.youtube.com/watch?v=RD6Qj2NG7Go >> Give the latest version a spin: >> https://cjveniot.neocities.org/TW_BasicIDE.html >> > -- 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/f03a3b93-08d4-4988-abf2-cc3d49b2691en%40googlegroups.com.