
7 RASExpress Script Language
CommPlete Communications Server 177
SETFILEATTR setfileattr(string file_name, integer attribute) : integer;
Sets the attribute for the file specified by file_name. If the attribute is set successfully, 1
is returned, else 0 is returned. The attribute should be according to DOS Int 21 Fn
4301h call.
Example
See getfiledate command.
SETFILEDATE setfiledate(string file_name, file_date) : integer;
Sets the date for the file specified by file_name. If the date is set successfully, 1 is re-
turned, else 0 is returned. The date should be given in mm-dd-yy or mm/dd/yy
format. If there is any error in the date string, 0 is returned, and the command is
ignored.
Example
See getfiledate command.
SETFILETIME setfiletime(string file_name, file_time) : integer;
Sets the time for the file specified by file_name. If the time is set successfully, 1 is re-
turned, else 0 is returned. The time should be given in hh:mm:ss format. If there is
any error in the time string, 0 is returned, and the command is ignored.
Example
See getfiledate command.
STOPBITS stopbits(integer no_of_bits) : integer;
Sets the number of stop bits for the communication channel. The no_of_bits passed
should be 1 or 2. If the connection is not initialized or no_of_bits is not within this
range, the command is ignored and 0 is returned; otherwise 1 is returned.
Example
See baudrate command.
STRCAT strcat(var string first_string, second_string) : integer;
Concatenates second_string to first_string. If there is any concatenation error, 0 is
returned; otherwise 1 is returned.
Example
See strlen command.
Comentarios a estos manuales