|
-- James, If this is going to be a word parser, then you canuse the SCAN-opcode or %scan-BIF to scan for the first space from the beginning and substring that word. Continue from the (foundposition + 1) to do the next scan. I have written a similar procedure, but the code is at home. Regards, Carel Teijgeler >I need to convert the following C code to RPG. I suppose I can leave the >getword() function as C, but I really need to be able to do the main() >function as RPG. Some help making this RPG would be great :) --
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.