Support for ELSE-IF in RPG3

2820 pts.
Tags:
Hi all I wonder if there is no support for else-if following if statement.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • philpl1jb

    no.  the else-if logic does not exist in RPG3.  So your code might look like this ...

    if A=B

    ...

    else

    if C > 4

     ...

    endif

    endif

     

    53,910 pointsBadges:
    report
  • hunshabbir7
    OK thanks
    2,820 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: