Syntax Error?

kgdb

Senior member
Jul 11, 2000
394
0
0
What exactly is a Syntax Error? I get this when viewing some pages with IE but I dont get it if I view pages in Netscape. Any input would be great. Thanks
 

stndn

Golden Member
Mar 10, 2001
1,886
0
0
if you're talking about webpages, most of the time it will be javascript error or other scripts.

basically syntax error is what it is ... syntax error ....
syntax is the "grammar" of programs ... eg of a syntax to print a text would be like this:
printf "Hello World";

if the programmer typed the wrong thing, eg:
print "Hello World";

and missed the "f", it would cause the syntax to be wrong, and the program won't work correctly, and then gives you a syntax error

Sometimes if it's javascript syntax error, msie will popup the error unless you specified it not to (or it will tell you by the small triangle on the bottom left). netscape will also tell you, but a bit indirectly. you can try to type in " javascript: " (without the quotes) and it will popup the window with the syntax errors, if it is a javascript error.

-702-