:IF:

Notation

Action Commands

Open Description Window

 

IF ::=   :IF: [ Not ] decision [ Each_Server ]
                action { action  }
           [  :Else:
               
action { action  }  ]
           :End_If:

 

decision ::= CompletedOK name  |
                     Present file_specification “,” time_out  |
                     “(“ Conditional_expression “)”

 

name ::= letter { letter | digit | “ “ }

time_out ::= number

 

:IF: Not Present {APTServe}c:\rtansfer\*.*, 5

             :Alert: Mail = C:\Beyond FTP\trouble.mpf

             :Stop:

:Else:

             :From:{APTServe}c:\transfer\*.*

             :To:         c:\inbound\*.*

 

             :IF: Not CompletedOK Inbound

                             :Alert: Mail = C:\Beyond FTP\xferfailed.mpf:

             :End_If:

:End_If:

 

:IF: Present  {APTServe}c:\transfer\*.*, 5

             :From:{APTServe}c:\transfer\*.*

             :To:         c:\inbound\*.*

:Else:

             :Stop:

:End_If:

 

:IF: (  (%’MyError’ = 0) and not %’Fdone’)

:End_if: