Previous: x/ zvpone Up: Parameter Routines

x/ zvpstat

call xvpstat(name, count, def, maxlen, type)
status = zvpstat(name, count, def, maxlen, type);

This routine returns information about a parameter without returning its value. It is most useful to get the maximum length of any string and the number of strings in order to allocate a buffer before calling x/ zvparm. This routine is also the only way to determine the data type of a parameter given only its name. The program should know the type in the PDF, but there are situations where this could be useful.