← Back to context

Comment by Tistron

2 years ago

I can't get it to actually do anything, is it supposed to work to run programs in the browser? (mac, chrome)

It does! Drag some controls onto the form and hit the play button.

  • Event handlers don't seem to run (I couldn't get the simplest MsgBox to work, at least). Is the actual language implemented?

    • Hey, author here, only a subset of VB6 language is implemented, I also didn't implement all properties and events, i.e. the Click event on labels. Updated the website with all basic events.

      Considering how much response this project got, I might improve the VB6 interpreter :)

    • They're working for me

      Drag a button, double click, MsgBox "hello" in the event handler, hit play

turns out I had a typo and it doesn't report errors as far as I can tell

  • Maybe you need to explicitly capture the errors to view the error number and/or message in a message box or something? I have no idea, just guessing based on some prior VBA work I did.

  • Syntax Errors reporting was missing indeed, but I just added it now and it would show a message box (while you write the code)