DATASERV (kappserv) functions


LIBRARY ROUTINE

kpds_initialize_value - preset value segment to constant

LIBRARY CALL

int kpds_initialize_value(
   kobject object,
   double real,
   double imag)

INPUT

OUTPUT

none

RETURN VALUE

TRUE on success, FALSE otherwise

DESCRIPTION

This routine initializes the entire value segment to a specified value. The last two arguments are real and imaginary components of a complex number that is the value that the data will be initialized to. The data type of the value segment at the time this function is called will determine how the complex number is used. A non-complex datatype means that the real part only will be used. A non-floating-point data type means that the integer part of the real argument will be used.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATASERV/objects/library/kappserv/src/pds_value.c

SEE ALSO

kappserv(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.