
7 RASExpress Script Language
CommPlete Communications Server 155
Script Command Summary
This section lists the RASExpress script commands by category.
Format Conversion
ATOF
atof(string number_string) : real;
Converts number_string into a floating point number.
ATOI
atoi(string number) : integer;
Converts a numeric string of decimal digits to an integer.
FTOA
ftoa(real float_no, var string buffer) : integer;
Converts float_no into a sequence of decimal digits and copies it to buffer.
ITOA
itoa(integer number, var string buffer [, integer radix]);
Converts number to a sequence of characters according to radix and copies it to
buffer.
Communication Parameter Settings
BAUDRATE
baudrate(integer baud_rate | string baud_rate) : integer;
Sets the baud rate to the specified value.
DATABITS
databits(integer no_of_bits) : integer;
Sets the number of data bits for the communication channel.
PARITY
parity(string option) : integer;
Sets the parity for the communication channel.
STOPBITS
stopbits(integer no_of_bits) : integer;
Sets the number of stop bits for the communication channel.
Komentáře k této Příručce