#include "las.h" #include "sysdef.h"
FUNCTION c_sysset (csys,nsys,sysflg)
char *csys; long *nsys; long *sysflg;
On input csys contains the system character string used to set the system numerical code nsys. On output csys is set to the system character string defined by the system numerical code nsys
On input nsys is the system numerical code used to set the system character string csys. On output nsys is set to the system numerical code defined by the system character string csys.
System conversion flag. Valid values are:
= SETN (0): Convert the input system character string to the system numerical code. = SETS (1): Convert the input system numerical code to the system character string.
The c_sysset() routine is used to convert the system character string to a system numerical order or to convert the system numerical code to a system character string. The direction of the conversion is determined by the variable sysflg. The valid systems are defined in the include file sysdef.h.
c_sysset() returns
E_SUCC (0) --> successful completion E_FAIL (-1) --> operation failed