Multitech MT5634HD16 Guía de usuario Pagina 185

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 292
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 184
7 RASExpress Script Language
CommPlete Communications Server 175
PARITY parity(string option) : integer;
Sets the parity for the communication channel. The option that is passed should be
one of the following : NONE, ODD, or EVEN. If connection is not initialized or an
invalid option is passed, the command is ignored and 0 is returned. If a valid option
is passed, the parity is set and 1 is returned.
Example
See baudrate command.
PROC PROC <procedure_name> [ (<parameter_list>) ] [ : <var_type>] ;
This statement declares the beginning of a procedure, which will be executed until
ENDPROC is encountered. Execution of a script file starts at PROC MAIN, which
cannot have any arguments. All procedures must be declared before they are used.
Example
/* This script illustrates the proc command. */
proc main;
display("This is a simple procedure.^M") ;
endproc
proc xplusy (integer x, y): integer;
integer sum;
sum=x+y'
return(sum) ;
endproc
QUIT quit;
Terminates the execution of the script.
Example
/* This script illustrates the quit command. */
proc main;
display("Press any key to exit the program...");
getkey;
display("^J^M");
quit;
endproc
Vista de pagina 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 291 292

Comentarios a estos manuales

Sin comentarios