Midrange News for the IBM i Community


Posted by: TFisher
Compiler Directives in Free-form RPG
has no ratings.
Published: 20 Feb 2014
Revised: 20 Feb 2014 - 1460 days ago
Last viewed on: 19 Feb 2018 (2874 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Compiler Directives in Free-form RPG Published by: TFisher on 20 Feb 2014 view comments(2)

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: Compiler Directives in Free-form RPG
Posted: 3 years 11 months 29 days 23 hours 29 minutes ago

All directives can be used in the updated RPG IV implementation. There is not free vs fixed anymore.

The directives must begin in column 7 or later--no longer restricted to position 7.

The big change is the /IF directives since they can be used to control how code is compiled, they can be used within a statement that spans multiple lines.

Posted by: TFisher
Premium member *
Comment on: Compiler Directives in Free-form RPG
Posted: 3 years 11 months 29 days 21 hours 37 minutes ago

Thanks Bob!  I thought that was the case, but just wanted to be sure.