Subj : Javascript for dummies like me To : Sys64738 From : Nightfox Date : Thu Dec 09 2021 09:03 am Re: Javascript for dummies like me By: Sys64738 to Digital Man on Wed Dec 08 2021 11:37 pm Sy> No doubt, the tools are far better. However, there doesn't seem to be as Sy> much consistency in the syntax of the programming languages that I've Sy> observed. Such as with "console.print" as an example. I'm not Sy> understanding why that command wouldn't be universal and a common command Sy> within JavaScript. In that case, it's mainly that Synchronet has defined its own custom JavaScript interface. It's possible to embed JavaScript into C/C++ projects (and projects using other languages) and define your own custom JavaScript API for your scripting needs. Doing so actually allows you a lot of flexibility. The console object defined in Synchronet's JS API might have fairly different requirements than for other contexts. When developing JS for a web browser, there is a 'console' object, but that's a totally different thing. The JS console object for Synchronet is for the text-based interface that the user is logged into when using telnet, RLogin, SSH, etc., whereas the web console object in JS is for the web browser's debugging console. I don't think it would really make sense for Synchronet to share the same console object as a web browser. Nightfox --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com .