[tw5] BASIC Anywhere Machine: New SetClipboardText() function, etc.

Work on the Programmer’s Reference TiddlyWiki continues.

Attached: current list of enhancements to the BASIC implementation.

Noteworthy addition: SetClipboardText(string)

This was a quick and easy function to add, allowing placing the content of a string to the clipboard. So a way to export a string to which the BASIC program aggregates text during program execution.

See the results of the program below, pasted from the clipboard into the attached text file.


def fnFmtCode$(i) = space$(4 - i) + str$(i) + ": " + chr$(i)
'
for i = 33 to 223
a$ = a$ + chr$(13) + fnFmtCode$(i)
next i
'
setclipboardtext(a$)
print "results copied to clipboard."

I’m thinking these attachments won’t show in TiddlyTalk. I’ll follow-up this post with the post’s GG url.

(Attachment ResultOfSetClipboardText.txt is missing)

(Attachment EnhancementsToLanguageImplementation.pdf is missing)

URL to this GG post: https://groups.google.com/g/tiddlywiki/c/uZmJpLsFehc

1 Like