ENTER

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(New page: == ENTER == '''Syntax:''' ENTER program[,[directory-name][,message]] '''Placement:''' The ENTER command may be used either before or after the REPORT command. If used before, the su...)
 
Line 1: Line 1:
-
 
== ENTER ==
== ENTER ==
   
   
-
'''Syntax:''' ENTER program[,[directory-name][,message]]
+
'''Syntax:''' <br> ENTER program[,[directory-name][,message]] <br>
-
'''Placement:''' The ENTER command may be used either before or after the REPORT command. If used before, the subprogram is entered before the report is run. If used after the REPORT command the subprogram is entered after the report has run but before any RUN command. This can be very handy for doing pre- or post- processing around the report.   
+
'''Placement:''' <br> The ENTER command may be used either before or after the REPORT command. <br>If used before, the subprogram is entered before the report is run. <br>If used after the REPORT command the subprogram is entered after the report has run but before any RUN command. <br>This can be very handy for doing pre- or post- processing around the report.<br>  
-
'''Discussion:''' The ENTER command executes an Internet Basic sub-program. If you pass a message, the Reporter will print the message to the # buffer just before the ENTER. The first executable statement in the sub-program must input the data from the # buffer. The sub-program must end with an EXIT statement. Here are some examples:  
+
'''Discussion:''' <br> The ENTER command executes an Internet Basic sub-program.<br> If you pass a message, the Reporter will print the message to the # buffer just before the ENTER. <br>The first executable statement in the sub-program must input the data from the # buffer.<br> The sub-program must end with an EXIT statement. <br>Here are some examples:  
   ENTER MYPROG,DSK
   ENTER MYPROG,DSK
   ENTER MYPROG,DSK,"some data to pass to myprog"
   ENTER MYPROG,DSK,"some data to pass to myprog"
    
    
The ENTER command was introduced in Reporter version 8.03.
The ENTER command was introduced in Reporter version 8.03.

Latest revision as of 09:13, 6 June 2009

ENTER

Syntax:
ENTER program[,[directory-name][,message]]
Placement:
The ENTER command may be used either before or after the REPORT command.
If used before, the subprogram is entered before the report is run.
If used after the REPORT command the subprogram is entered after the report has run but before any RUN command.
This can be very handy for doing pre- or post- processing around the report.
Discussion:
The ENTER command executes an Internet Basic sub-program.
If you pass a message, the Reporter will print the message to the # buffer just before the ENTER.
The first executable statement in the sub-program must input the data from the # buffer.
The sub-program must end with an EXIT statement.
Here are some examples:

 ENTER MYPROG,DSK
 ENTER MYPROG,DSK,"some data to pass to myprog"
 

The ENTER command was introduced in Reporter version 8.03.

Personal tools