Multitech MT5634HD16 Uživatelská příručka Strana 163

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 292
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 162
7 RASExpress Script Language
CommPlete Communications Server 153
Compiling a Script File
The process of compiling converts the source code into an executable file, which is
also to say that there are now two versions of your script file. One version (with the
.SCR extension) is the source code, which can be altered by you in any text editor.
The other version is the script files executable form (with a .COD extension), which
cannot be directly modified by you.
To compile a script file from the DOS prompt, copy the source file to the directory
where RASExpress is installed (typically C:\RAS550), and run the SCRIPT.EXE
utility. The syntax is SCRIPT file_name <CR>. The compiled file must remain in the
RASExpress directory.
Script Error Handling
When a script file is compiled, any errors that may occur are recorded in an error file
to assist you in debugging the source code. The name of the error file is
file_name.OUT. For example, if you compile MTS_HOST.SCR and RASExpress
encounters errors in your script, those errors are flagged in MTS_HOST.OUT.
Running a Script File
A RASExpress script file can be run only on a LAN-to-LAN dialing port. To run the
script file automatically, access the RASExpress configuration program using a ter-
minal, Telnet, Web, or DOS interface, select Communication Setup from the main
menu, select Line Information, and type the name of the compiled script file in the
Script File Name field. In all cases, type the file name without the .COD extension.
Zobrazit stránku 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 291 292

Komentáře k této Příručce

Žádné komentáře