Using external websites for programs
DevinF06Created:
When you think about it, it's not really a bad idea.
You could use some external site (Most likely Google Sites) to hold some info that will probably be updated (Program keys, update pakages, homepages, ect.) in Base64 to be used in SB.
Random examples:
- Storing the latest program key for the program itself
- The Homepage of something
- Some code that will do stuff
- Anything else
LINK$ = "https://sites.google.com/view/arandomsite/subpage/" PRINT "Visit " + LINK$ + "page15" PRINT "" INPUT "Data from website:";OUT$
Random examples:This can be done in the Pi version of SmileBASIC (albeit with different syntax, I think), but itโs not available, nor will be added for other versions of SmileBASIC due to security concerns. Hereโs a link from the reference manual about it: https://app.smileboom.com/pistarter/wiki/doku.php?id=reference:ใใใใฏใผใฏAnd SB will tell you to go the website and wait for input
- Storing the latest program key for the program itself
- The Homepage of something
- Some code that will do stuff
- Anything else
LINK$ = "https://sites.google.com/view/arandomsite/subpage/" PRINT "Visit " + LINK$ + "page15" PRINT "" INPUT "Data from website:";OUT$
I don't think they mean having SmileBASIC itself access a website. (I think the url tags were put there by accident.)
I think they're saying you should have an URL in your program which users would visit on their computer, and that website would have Base64 data that you'd then hand-type into the program, which would then be used to patch itself.
That's probably going to be way too much data to type in manually though. Just having a URL in your program to tell people where the latest key is would be a lot more practical.