ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Capitalization on EndXx Statements

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Capitalization on EndXx Statements

    Hello all --

    Just had to reload WDSC when I got a new PC. I could swear I asked this in a previous thread:

    The editor automatically adds in the end statement when you hit enter. I'm trying to specify to have mixed case -- it currently is all caps. (EndIf, EndDo, EndSl, EndFor, etc)

    Can anybody help jog my memory with that? TIA
    http://www.linkedin.com/in/chippermiller

  • #2
    Re: Capitalization on EndXx Statements

    Courtesy of Scott Klement:

    Window / Preferences / Remote Systems / Remote Systems LPEX Editor / iSeries Parsers / ILE RPG

    There's a checkbox named "Automatic closure of control block" that you can set to tell WDSC whether it should automatically insert the 'EndIf, EndDo, EndSL' (etc) opcodes. If you have that option turned on, there's another option on the right-hand side titled 'Style' where you can choose how you want it capitalized (endif EndIf, ENDIF, etc)
    Michael Catalani
    IS Director, eCommerce & Web Development
    Acceptance Insurance Corporation
    www.AcceptanceInsurance.com
    www.ProvatoSys.com

    Comment


    • #3
      Re: Capitalization on EndXx Statements

      That did the trick. Thanks!
      http://www.linkedin.com/in/chippermiller

      Comment

      Working...
      X