Both sides previous revision Previous revision | |||
hpl2:tutorials:script:problem [2013/10/14 23:24] thegreatcthulhu [Unexpected end of file] |
hpl2:tutorials:script:problem [2013/10/14 23:26] (current) thegreatcthulhu [Unexpected end of file] |
||
---|---|---|---|
Line 48: | Line 48: | ||
- | However, if you use syntax highlighting capability that comes with code editors, you will probably be able to find the problem spot more quickly. This is because, if syntax highlighting is enabled, string literals (the things written in double quotes, "like this") are displayed in a different color then the rest of the text; so if you forget a closing quote, there will be a piece of your code that will //look a bit wrong//. Your error will be there. Although this too might not be too easy to spot, it is easier then when you're looking at a uniformly black text. | + | However, if you use syntax highlighting capability that comes with code editors, you will probably be able to find the problem spot more quickly. This is because, if syntax highlighting is enabled, string literals (the things written in double quotes, "like this") are displayed in a different color then the rest of the text; so if you forget a closing quote, there will be a piece of your code that will //look a bit wrong//. Your error will be there. Even so, the error still might not be too easy to spot, but it will be easier compared to not having syntax highlighting, when the text looks uniformly black. |