× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



David,

You might trying changing the format options:
Window > Preferences > Remote Systems > Remote System LPEX Editor > IBM I Parsers > CL

If you cannot change those settings for your liking.

You could just disable parsing:
Window > Preferences >LPEX Editor --> Checkbox=CHECKED for "Disable parsing"

I use **Free in RPGLE/SQLRPGLE, so I like having my comments on the right. I am NOT stuck in Punch-card mode, unlike my much older co-workers. <LOL>

Since the old days of the discontinued AS400, you do NOT have to use "GOTO" in your CL. Last Century stuff, but people do not know that CL has Structuring coding like other language have had for decades longer. <grin> DoUntil, DoWhile, CallSubr, Subr etc...

Sadly, code-assist in CLLE is lacking. I much rather look up the op-code for CLLE, than use code-assist. Just too slow for me.

Ken Killian


-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of David Gibbs via WDSCI-L
Sent: Tuesday, September 22, 2020 11:52 AM
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Cc: David Gibbs <david@xxxxxxxxxxxx>
Subject: [WDSCI-L] Weird formatting issue in LPEX when editing CL

OK, this is kind of a weird one...

I'm editing a normal, OPM, CL ... everything is fine. Nothing funky about the source member.

I want to put a comment in FRONT of a CL command. For most of the source lines, everything is fine.

When I put the comment (/* xxx */) in front of an ENDDO command, LPEX automatically moves the comment after the command.

So I type in this:

/* xxxxx */ ENDDO

What LPEX formats it to is this:

ENDDO /* xxxxx */

The only option for CL parsing I have enabled is automatic indent.

Any suggestions? Is there a config option I'm overlooking.

david

--
I'm riding in the American Diabetes Association's Tour de Cure to raise money for diabetes research, education, advocacy, and awareness. You can make a tax-deductible donation to my ride by visiting https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.