And follow-up show'n tell video: https://youtu.be/PQ-vcqMKMkE
On Saturday, September 24, 2022 at 7:11:27 PM UTC-3 Charlie Veniot wrote: > Well, that was ridiculously easy. > > Download the attached and drag into TiddlyWiki.com to import tiddlers > > Two screenshots below: > > *Imported tiddlers:* > > [image: Screenshot 2022-09-24 7.09.28 PM.png] > > > *The "BASIC Program for TW Export" (find it and click on RUN):* > *(a blend of TiddlyWiki and BASIC; TiddlyWiki scripting to dynamically > generate the BASIC program)* > *(strings in BASIC are enclosed in double-quotes; if a tiddler title > happens to have a double-quote, it gets replaced by that chr$(34) stuff.)* > [image: Screenshot 2022-09-24 7.04.16 PM.png] > > > > On Saturday, September 24, 2022 at 4:17:07 PM UTC-3 Charlie Veniot wrote: > >> I just released a new version of BASIC Anywhere Machine (aka BAM) which >> has an implementation of the LPRINT statement. >> >> The statement takes a string expression and provides it for download to a >> file via the web browser's standard "Save File As" dialog. >> >> It is a way of getting text output out of a BASIC program. >> >> Which got me thinking... >> >> It is easy to have a BASIC program include, at runtime, any content from >> TiddlyWiki. The "preprocessor" in BAM views TiddlyWiki syntax as "meta >> commands" that should render as something that BASIC recognizes as valid >> BASIC syntax. Like "DATA" statements used by "READ" statements, or values >> assigned to BASIC variables, or values returned by BASIC functions. >> >> Although it is easy to create a TiddlyWiki export option (once one has >> figured out, short of documentation, how out-of-the-box TW exports work), I >> think a BASIC program in TiddlyWiki makes for a viable alternative. >> >> Something I'll be chewing on and maybe proving with code in a future >> video. >> >> For now, you might be able to imagine the potential via this introduction >> to LPRINT in BASIC Anywhere Machine: >> >> https://www.youtube.com/watch?v=wYVj3K4HRuk >> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/06b9079e-5e30-4912-aada-b49fa5371293n%40googlegroups.com.

