Problems with QBJS - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10) +---- Thread: Problems with QBJS (/showthread.php?tid=3365) |
Problems with QBJS - Jack002 - 01-10-2025 Hello, Either I have found a bug or there's something I'm not doing right This link for QBJS: https://qbjs.org/ I'm using it while looking at the Phoenix WIKI page for CIRCLE here https://qb64phoenix.com/qb64wiki/index.php/CIRCLE In it I copy the example code into QBJS, this code Code: (Select All)
Try to run it and I get the error ERROR : 0 : expected expression, got ')' _runProgram@https://qbjs.org/qbjs-ide.js?v=0.8.2:265:26 After some experimenting I found that this code will run Code: (Select All)
But this will not Code: (Select All)
expected expression, got ';' Why is that? I can't use QBJS to learn keywords in QB64, it fails for things like this. I'm lost as to what I did wrong. RE: Problems with QBJS - bplus - 01-10-2025 FIXED: Mainly have to Dim all variables, but replace i = _mouseinput with what I have works better in both QB and JS specially with _Limit 60. RE: Problems with QBJS - Jack002 - 01-10-2025 Ok, awesome! I had doubts about how to handle _Mouseinput, but had more confidence in vars that end in & Thanks! Jack |