> I might have a go at the custom keywords,
> but it looks like quite an undertaking
LOL, we've done all the work for you!
All you need to do is copy all those capitalised words above,
from my post and the other, into a single plain text file (such
as created by Notepad).
Then, save that file somewhere, and then open PureBasic,
open the Preferences, open the "Editor" section, open the
"Coloring" item, click the "Custom keywords" bit, then
browse to the saved text file and apply the setting.
It's easy! See below.
Capitalisation of keywords
Re: Capitalisation of keywords
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: Capitalisation of keywords
Hi RNBW... I notice you're new here. Welcome to PureBasicRNBW wrote:I certainly find coding much clearer with bold capitalised keywords....
PureBasic has upwards of 2100 functions (procedures) and makes good use of CamelCase.
Examples such as:
CREATEPOPUPIMAGEMENU
ADDENTITYANIMATIONTIME
ADDVERTEXPOSEREFERENCE
BUTTONIMAGEGADGETNOSKIN
CONVERTLOCALTOWORLDPOSITION
CONVERTWORLDTOLOCALPOSITION
will make you think twice about using upper case only!
You may wish to settle in with PureBasic for a few weeks
before changing over to caps only.
- It was too lonely at the top.
System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Re: Capitalisation of keywords
Exactly. I can understand someone wants to write all-caps keywords (nostalgia, preference, whatever).
But the functions are clearly too much to be good for one's health.
But the functions are clearly too much to be good for one's health.
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Re: Capitalisation of keywords
That is not only easy it is superb and I now have colour coded capitalised keywords and functions. Couldn't ask for more. Thank you everybody for your help.PB wrote:> I might have a go at the custom keywords,
> but it looks like quite an undertaking
LOL, we've done all the work for you!
All you need to do is copy all those capitalised words above,
from my post and the other, into a single plain text file (such
as created by Notepad).
Then, save that file somewhere, and then open PureBasic,
open the Preferences, open the "Editor" section, open the
"Coloring" item, click the "Custom keywords" bit, then
browse to the saved text file and apply the setting.
It's easy! See below.
Re: Capitalisation of keywords
No other BASIC has this level of customisation... or friendly community!
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.