Allen wrote:
It's on another machine but basically<<code>> Scan If empty(slotdt) Replace slotdt with gatedt Endif Replace slotdt with coord.slot1.localtoutc(slotdt),; Gatedt with coord.slot1.localtoutc(gatedt),; Flno with coord.slot1.formflt(Flno) && rundt with coord.slot1.localtoutc(fltdt),; If empty(schdt) Replace schdt with slotdt Endif If !lContinue Exit Endif Endscan <<endcode>> Note the rem line was in the middle and as the close check did not like a rem in the middle of a replace I moved it to the end. Where it caused an if endif fail.
Take the ; off the end of the comment line and I think it should work. With the semi colon there it thinks the IF line is also a comment. Peter _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

