Function: char2str Purpose: Copy a fchar value to a char[]. Category: UTILITY File: gclib.c Author: J.P. Terlouw Use: int char2str( fchar c, char *s, int ls ) char2str Returns the number of characters transferred. c Input fchar object. The transfer stops at the end of c. s Output string. If the length of c exceeds the length of s, only the first ls-1 elements are transferred. ls length of s. Notes: char2str is defined in "gipsyc.h". Updates: Feb 27, 1990: KGB, Document created.
Function: CHRINT Purpose: Converts an integer to a character string. The integer is left-adjusted encoded. Category: UTILITY File: chrint.c Author: K.G. Begeman Use: CHARACTER*(*) CHRINT( NUMBER ) Input INTEGER CHRINT Returns NUMBER as left-adjusted character string. NUMBER Integer which will be leftajusted encoded. If NUMBER is too large to fit in the declared size of CHRINT, the output will be filled with '*'s. Updates: May 23, 1989, KGB, Document created.
... Category: ARRAY Files: clipper.c Author: K.G. Begeman Use: CALL CLIPPER( CLIPLO , Input REAL CLIPUP , Input REAL INDATA , Input REAL ARRAY TEDATA , Input REAL ARRAY OUDATA , Output REAL ARRAY NDATA , Input INTEGER REPLACE ) Input REAL CLIPLO Lower clip level. ... INDATA Data which will be conditionally transferred to OUDATA. ... OUDATA Array which will receive data from INDATA or contains values equal to REPLACE. ... REPLACE Data not transferred will be replaced by this value. ...
Function: iras_root Purpose: provide a string containing the basename of the IRAS server Category: IRAS File: iras_root.c Author: Do Kester do@guspace.rug.nl Use: integer iras_root_c( root ) O character*(*) root the name of the IRAS root (enclosed in backslashes) returns the number of characters in root -1 : not enough characters in root Dependent: System dependent name; now : /rog11/ Updates: 29 Nov 1991: DK, Creation date
Subroutine: ARITH Purpose: Do an arithmetic operation on two real arrays and store the result in a third one. ... Category: ARRAY File: arith.c Author: K.G. Begeman Use: CALL ARITH( ARRAY1, input real array OP, input character ARRAY2, input real array ARRAY3, output real array NUMBER ) input integer ARRAY1 input array. ... ARRAY2 input array. ... Description: For every element of the arrays 1, 2 and 3 the following operation is performed: ARRAY3 = ARRAY1 'OP' ARRAY2 The arrays need not be different. ...