Posts: 1,121
Threads: 139
Joined: Nov 2009
Reputation:
0
Sorry for the bump but i've slept over it.
Anyone ?
Posts: 410
Threads: 9
Joined: Jan 2006
Reputation:
0
Any line starting with # is reserved for the compiler directives. The compiler directives are commands that tell the compiler to do a task.
You having the line "#===============" is telling the compiler to execute its internal "===============" command (directive). This command doesn't exist, hence "unknown directive".
Posts: 410
Threads: 9
Joined: Jan 2006
Reputation:
0
As ****** said, you need to be clearer with your request. I'm under the assumption that you're trying to put blue colours in your source code to beautify it?
The blue colour is only an effect created by your editor (assuming you're using Pawno)-- really it's just plain text that's been coloured by your editor. It's not worth putting effort into colouring your code, it will vary from editor to editor and could create unintended side effects (if you manage to hack together a solution).
Stick with comments if you need a bit of colour to improve readability, but don't go to far or else you could decrease readability of your code. You may regret spending time creating some cool coloured art when you have to waste your time scrolling past it everytime you open your script.
#define pattern must start with an alphabetic character