Daylight v4.9
Release Date: 1 February 2008


dt_mer_progob2name - return the string name of a program object

Generic Prototype

dt_mer_progob2name(dt_Handle, dt_Integer) => dt_String

C Prototype

#include "dt_merlin.h"

dt_String dt_mer_progob2name(dt_Integer *len, dt_Handle server, dt_Integer iprogob)

FORTRAN Prototype

include ''

integer*4 dt_f_mer_progob2name(server, iprogob, string)

integer*4 server
integer*4 iprogob
character*() string


Gets the name of the program object attached to the Merlin server. The parameter 'iprogob' indicates which program object, and ranges from 0 to N-1, where N is the number of program objects reported by dt_mer_nprogobs(3).

Return Value

Returns the invalid string if the program object is unknown ('iprogob' is out of range). All object types except merlin servers have no program objects.

Related Topics

dt_mer_nprogobs(3) dt_mer_progob_compare(3) dt_mer_progob_compute(3) dt_mer_progob_computeparams(3) dt_mer_progob_compareparams(3) dt_mer_server(3)