Jump to content
Excelsior Forums
Sign in to follow this  
wilbertnl

Toggle KEYWORDS case in IDE

Recommended Posts

Recently I downloaded the XDS M2/O2 development package.

I'm very impressed and happy with the freeware offer.

After doing some research online I got the understanding that XDS is well known for it's high quality.

Even creating win32 applications is possible, with sufficient API references at hand. And I'm actually using quality win32 applications that I know are developed in modula-2.

Also the provided documentation deserves compliments.

Thank you very very much.

I'm new to Modula-2 (did Turbo-Pascal years ago) and I notice case sensitivity for the RESERVED KEYWORDS.

Now here comes my question:

What I would like to see is that the IDE is able to toggle the RESERVED KEYWORDS (which are not part of a string) to uppercase all at once.

Does that sound like an enhancement for this Excelsior/XDS IDE?

What do you say?

Share this post


Link to post
Share on other sites

Suppose you decided to write:

 for := 10;

(which is allowed)

After uppercasing this will become

FOR := 10;

which is not allowed (FOR-loop title)

Share this post


Link to post
Share on other sites

The compiler is able to distinguish the difference between reserved keyword FOR and identifier for. Right?

The intelligence is available.

Share this post


Link to post
Share on other sites

Doubtful... Consider:

for := 10;

For := 12;

mindless thing to do, but real... ;D

Thus uppercasing all is not a solution. And bringing the compiler's parsing logic into IDE was not the task initially considered. Right now it will be too much work to do for free.

Unless someone orders and pays for this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×