Hi all,
I've made available the li'l tool I use to add syntax highlighting to my code examples. faq102-6487. (feel free to rate it highly) eg.
Now your posts can look as good as mine! Seriously though, I think it really aids readability, particularly for large or complex code examples.
Download from here if you like For any issues with it, I can be contacted through the faq topic.
I've made available the li'l tool I use to add syntax highlighting to my code examples. faq102-6487. (feel free to rate it highly) eg.
Code:
[b]procedure[/b] TMyClass.Whatever([b]var[/b] Param: Integer);
[b]var[/b]
s : [b]String[/b];
x : Real;
[b]begin[/b]
[b]inherited[/b]; [navy]// call TBaseClass.Whatever[/navy]
[b]if[/b] s = [teal]'text'[/teal] [b]then[/b]
x := [purple]0.50[/purple];
[b]end[/b];
Now your posts can look as good as mine! Seriously though, I think it really aids readability, particularly for large or complex code examples.
Download from here if you like For any issues with it, I can be contacted through the faq topic.