Example:
a = 2.5 b = "the value of a is " ShowPrompt(b, a)This code fragment will print ``the value of a is 2.5'' on the prompt line.
If given without arguments, the prompt line will be erased, but without disturbing the current message as returned with GetLastPrompt. The function returns 1 if something is printed (message updated), 0 otherwise.
The function returns the previous indentation level.
Any type of variable can be printed. Handles will be printed as a string giving the handle type. For a zoidlist variable, the coordinates of the trapezoids are printed, one trapezoid per line, in order x-lower-left, x-lower-right, y-lower, x-upper-left, x-upper-right, y-upper. Arrays are printed as a sequence of numbers. The number of array elements and trapezoids printed is limited to 100 and 20, respectively, but these limits can be changed or removed with the SetPrintLimits function.