Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
One year of Phoenix Forums!
#11
(04-22-2023, 05:30 AM)Sprezzo Wrote: This place is too small for a civil war, banning should be banned. If the stewards claim to be leaders, let's urge them to lead. Lead by example. Civility trickles downward and there is a HUGE Gordian knot of uncivility at the top of this thing.

funny thing to say for a guy that's been banned here at least twice
Reply
#12
I remember trying to logon to the old site and like it must be down for maintance a year ago and one of the rare times I jumped on discord (thanks China) and was told to come here. This place has some of the greatest people helping out around here and I just did a google search myself and the fourm is number 4! (.com, wiki, gethub of qb64, us) Searching and clicking through must have helped maybe we can get to the top with everyone else since those others are not as awesome as us.

Hell, I just turned 40 this year, I still introduce basic to my students when they are curious and tell them to sign up here to get help if they want. I just think basic is a much easier language to start with than the others and with the experinced hands leading the way, the language is as powerful it needs to be do pretty much anything. Graphics, music, controller input, and more just built in without anything else!

Just because it isn't the newest hotness, doesn't mean people don't like it. I think mnrvovrfc and BPlus said it right! Long live QB64PE and thank you Steve for everything you do for the community! I can only add my voice to the chorus. About word of mouth, did anyone check out the about page of the program I am working on? That's right, there is credit to QB64PE and our forum site address in that bad boy. Trust me, other teachers are using it and eagerly waiting my next update as well (thanks for everyones help with that too!) and seeing me work on it using Dark Side. Trust me, that alone gets people asking, what is that, how can I get it, and is it hard to learn?
Reply
#13
------
Reply
#14
ouch
I must agree with Steve ..that given code is not basic
Also i don't say that qbjs is bad ..it is good project for people who like browser
based programming ..i am one of them who don't like this way and i tend to avoid
browser based things.
Reply
#15
------
Reply
#16
yes ..unless i start learn JS ..heh
well of course it would be nice to have web version or js version of micro(A)js
my main point was who need such a thing ..or i am wrong ..maybe more people
like to use web or browser based programming languages ..i don't investigate this topic
but maybe you right Bill.

I kind of try to build tokenizer fist in qb64 ..but i am kind of lazy
and translation from OxygenBasic is little bit tricky in some things
i will see
Reply
#17
To get straight to the point, I've never dealt with Basic and JavaScript, but I can think of a few thoughts.

Why JS and not VisuelBasic Script, today, WSH(Windows Scripting Host)? It's probably included automatically, or you can download it.
WSH is object-oriented, and it's a form of Basic. So why you playing away when temptation is right in front of you?

I don't know if I've already posted this, but this is a very simple WSH program (it's been a while since I've made web pages with VBS or WSH). My first web scripting language was VisualBasic Script, and I still think it was better than JS. Is it really better than WSH today?


The program creates a folder under Windows and deletes it after 5 seconds without asking. Here H\:

Code: (Select All)
'Variablendeklaration erzwingen
Option Explicit

Dim Pfad, OrdnerAnzeigen
Dim fso, fo

'Ordner Beispiel erstellen
Pfad = "H:\TEMP\Beispiel"

'FileSystemObject erzeugen fuer Zugriff
Set fso = WScript.CreateObject("Scripting.FileSystemObject")

'Ordner erstellen
Set fo = fso.CreateFolder(Pfad)

'Neu erstellten Ordner anzeigen
OrdnerAnzeigen = fso.GetParentFolderName(Pfad)
Set fo = fso.GetFolder(OrdnerAnzeigen)

'5 Sekunden warten
WScript.Sleep 5000

'Ordner ohne Nachfrage loeschen
fso.DeleteFolder(Pfad)
WScript.Quit

'***Ende
Reply
#18
JS could be better for portability. In particular to FreeBSD, Haiku and other strange operating systems that support a web browser that could support JS.

That said, while I was checking out NomadBSD I should have checked out a few code examples on Firefox with QBJS...
Reply
#19
(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.
Reply
#20
Funny how we go from a celebratory post to whining.
b = b + ...
Reply




Users browsing this thread: 2 Guest(s)