|
Post by eddavis on Oct 29, 2022 13:55:49 GMT
I'm getting the following error from QBJS:
How do I tell where this is coming from in my code? I looked at line 355, but did not see anything.
|
|
|
Post by bplus on Oct 29, 2022 16:33:34 GMT
Might be able to figure it out if show a copy of code. There are allot of things that QBJS requires or doesn't do, line numbers don't always match after translating from QB64 code.
|
|
dbox
Junior Member
Posts: 82
|
Post by dbox on Oct 29, 2022 20:56:44 GMT
Hey eddavis , just to add to what bplus said... The QBJS error handling is a continual work in progress. For some more info though the error messages in the console use the following format: TYPE(WARNING or ERROR) : SOURCE_LINE_NUMBER : ERROR/WARNING SUMMARY JAVASCRIPT ERROR DETAIL When the error cannot be tied back to a source QBasic line number the SOURCE_LINE_NUMBER value is 0, as it is in the example you posted. If you want to share the source here I'd be happy to help you identify the issue.
|
|
|
Post by eddavis on Oct 31, 2022 20:53:55 GMT
I just kept changing things, and it finally went away. But, now I wish I had kept the first version. I'm not really sure what I changed and/or how it got fixed If it happens again, I'll be sure to save that version. Is this the best place to contact you regarding QBJS ?
|
|
dbox
Junior Member
Posts: 82
|
Post by dbox on Oct 31, 2022 21:06:50 GMT
Yes, I check in here regularly. I'm expecting to announce a new QBJS release in the next day or so that I'm looking forward to getting out there.
|
|
|
Post by bplus on Nov 1, 2022 10:27:13 GMT
dbox any progress on _MapTriangle, if needed I think I can make a QB64 version of Triangle image using the triangle fill I showed you. It could definitely be rotated maybe even scaled? Obviously it will slower than QB64 version from GL. eddavis do you know all variables should be dim'd, sometimes you can get away with a couple, I think... Also if you use a Line QBJS does not like steps of 0 ie a pset, Steve's standard circle fill using Line's is trouble.
|
|
dbox
Junior Member
Posts: 82
|
Post by dbox on Nov 2, 2022 15:20:15 GMT
dbox any progress on _MapTriangle, if needed I think I can make a QB64 version of Triangle image using the triangle fill I showed you. It could definitely be rotated maybe even scaled? Obviously it will slower than QB64 version from GL. Hey bplus, going to try to include _MapTriangle in the next release.
|
|