// getmsg.sr get "BRAVO1.DF" get "MSG.DF" get "NEWMSG.DF" // Outgoing Procedures external [ FFillInUfop ] // Outgoing Statics // external // Incoming Procedures external [ errhlta mapcp ] // Incoming Statics external [ mpIffFfs mpIffFfp vmapstatus parsacred ttblsacred vlook1 vlook2 ] // Local Statics // static // Local Structures // structure // F F I L L I N U F O P let FFillInUfop(pfop, doc, cp) = valof [ vmapstatus = statusblind mapcp(doc, cp, parneeded) let iff = pfop>>UFOP.iff if iff ge iffMax then errhlta(208) let ffp = mpIffFfp ! iff let itb = nil let ffv = nil test ffp<>PAR.ypos endcase case iffProcDxtb: unless parsacred>>PAR.fOldtab do resultis false pfop ! 1 = parsacred>>PAR.dxtb endcase case iffProcXtb: if parsacred>>PAR.fOldtab then resultis false itb = pfop>>UFOP.ffv if itb ge itbMax then errhlta(209) pfop ! 1 = itb ge ttblsacred>>TTBL.cw-1 ? xtbNil, (lv ttblsacred>>TTBL.ampitbxtb) ! itb endcase case iffProcSub: ffv = vlook2<>PAR.xleftmarg pfop ! 2 = parsacred>>PAR.xleftmargf endcase // case iffProcTable: // pfop ! 1 = parsacred>>PAR.tab // endcase default: errhlta(210) ] ifnot [ let ffs = mpIffFfs ! iff let iw = ffs<>UFOP.ffv = ffv ifnot pfop ! 1 = ffv ] resultis true ] // end FFillInUfop