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.

Al


-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Alan
Bourke
Sent: 04 September 2014 09:53
To: [email protected]
Subject: Re: if endif issue

Not sure what you mean  - can you post the code? 



---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


_______________________________________________
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/003e01cfc81e$8dc4c210$a94e4630$@com
** 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.

Reply via email to