Previous: x/ zvipone Up: Parameter Routines Next: x/ zvparmd

x/ zvipstat

call xvipstat(name, count, def, maxlen, type)
status = zvipstat(name, count, def, maxlen, type);

This routine returns information about an interactive 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/ zviparm. 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.