Re: macros, recursive includes... MI pseudo assembler?

Denes L <denes1951-FFYn/[email protected]> Mon, 10 Dec 2007 15:45:14 -0500 (EST)
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Very nice trick with the CRTCMOD ... OPTION(*PPONLY) !

I just tested it. Some comments:
1) You can create the source on a PC editor and save it in the IFS.
2) Change the %INCLUDE to #include <xxx.mi>  
3) INCDIR must point to where the includes are (/home/MI in my case)
4) Specify PPGENOPT(*NOGENLINE) { suppresses #line directives from the output}, PPSRCFILE(lib/QMISRC) and PPSRCMBR(mbr) to create the source member.
5) Macros... hmmm... will have to think about that.

Thanks,
Denes.

       
---------------------------------
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers. 
_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.