Retrogamecoding(.org) > BrowserBasic

Edit Bug


     I keep running into a bug that you all should be aware of.  You may already know about it , but I'll post it any way.
    My style of cut and paste causes too much white space in the editor. The compiler gets confused and leaves out semicolons in the Java Script output code. When I try to run it, I just get a blank screen. Windows Explorer fails to run it and will not give a clue as to why.
   The solution is to find the bad code in the Java Script and go back to the editor and select and delete the extra spaces at the end of the line.
    Compile again. No problems after this.

Hi Rick,

I dont seem to get that white space bug any more but perhaps as you say it is a matter of coding style.

For javascript bugs in general if you use Firefox as your browser there is an Add-On/Extension called Firebug ( which you can install into Firefox.
It is very often helpful in finding bugs.  I dont know what there is for other browsers.

cheers, SteveOW.
PS Nice triangular fractal. :)

Rick3137, give a snippet of code that causes the issue and I'll take a look into it.

   I done fixed it and it won't come back. If I see it again I'll save a copy.


[0] Message Index

Go to full version