Small Basic Forum
A question. (sorry if too off-topic) - Printable Version

+- Small Basic Forum (https://litdev.uk/mybb)
+-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1)
+--- Forum: Discussion (https://litdev.uk/mybb/forumdisplay.php?fid=4)
+--- Thread: A question. (sorry if too off-topic) (/showthread.php?tid=327)



A question. (sorry if too off-topic) - sm4llprogrammer2008 - 05-01-2025

Are we able to post GitHub links to repos that are either related to Small Basic or have Small Basic programs?


RE: A question. (sorry if too off-topic) - litdev - 05-02-2025

Yes, anything related to Small Basic is fine.


RE: A question. (sorry if too off-topic) - sm4llprogrammer2008 - 05-02-2025

Thanks! It's because I am making a HTML-based project that runs on a browser that is related to the SB WinForms extension, it's a WYSIWYG (What You See Is What You Get) editor, though. (it's because Small Basic is quite limited, so I decided to go w/ JavaScript)


RE: A question. (sorry if too off-topic) - litdev - 05-02-2025

Cool, the difficulty with JS may be communicating with the PC, e.g. accessing files or running from libraries have significant security limitations from a browser rather than an application.


RE: A question. (sorry if too off-topic) - sm4llprogrammer2008 - 05-02-2025

The only solution might be embedding Express.js (JS server-side lib) packages on the GitHub repo, or maybe use built-in JS functions to let the user manually save a file, or manually open a file.

But instead of interacting w/ libs I'd use 98.css to simulate WinForms within the WYSIWYG editor

Wait, I forgot that Electron.js web apps can access the filesystem, but though they consume more memory than actual native apps. (Electron.js is used for PWA-like HTML web apps)