(04-22-2023, 11:14 AM)SMcNeill Wrote: The problem, for me, with QBJS is that it's more JavaScript than it is BASIC.
Dim result As Object <-- What type is an Object? It's not one from BASIC
result = Fetch(...) <-- What command is Fetch? It's not one from BASIC
IF result.ok THEN <-- Apparently result is a type with a subtype in it? Again, this isn't from BASIC..
obj = JSON.parse(...) <-- Another not BASIC
SUB say <-- The contents here are 100% Javascript; not BASIC
I can't see how you'd have a problem with non-BASIC things being added, considering we have a plethora of underscore commands which were not used in BASIC. Not to mention MEM, which is an object of sorts, that also did not exist in BASIC.
Schuwatch!
Yes, it's me. Now shut up.
Yes, it's me. Now shut up.