ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Subroutines

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

  • Subroutines

    Hi,

    Could someone please let me know how to declare subroutines in fully free format rpgle ?


    Thanks...

  • #2
    Not something I ever do anymore - I prefer to use subprocedures.

    That said - just don't bother about where you code it (column wise) and add a semi-colon to the end - done.

    So
    Code:
    BegSr  SomeName;
      // Do stuff 
    EndSr  SomeName;

    Comment

    Working...
    X