From: Rildo P. <rpr...@ac...> - 1999-12-14 15:45:45
|
Hi, I have a simple question about the inspect statement. Trying to make it less complex, we can serialize the "inspect tallying" clause to make each count separate, but the same doesn't seem to apply to "inspect replacing". For instance: MOVE "ABABCD" TO VAR INSPECT VAR REPLACING LEADING "AB" BY "CD" ALL "CD" BY "EF". What should be expected after the execution: "CDABEF" or "EFABEF" ? (sorry I don't have any cobol compiler to test it myself, just ours :) ---------------------------------------------------------------- Rildo Pragana FPGA/uControllers * Linux * tcl/tk P.O. Box 721 Camaragibe PE http://members.xoom.com/rpragana Brazil 54792-990 +55-81-459-1776 |