6.0

Table Of Contents
77
Syntax
char( value ) string value
Argument
valueInteger value between 0 and 255, specifying the ASCII index of the character.
Code Sample Example
This example displays the word 'Talk'.
Example
show(char(84)+char(97)+char(108)+char(107))
Ceil (function)
Returns the smallest integer greater than or equal to the specified measure value.
Syntax
ceil( value ) integer value
Argument
valueMeasure value. The absolute value of the measure value must be less than the maximum value of
an integer in PostScript (2,147,483,647).
Code Sample Examples
These examples illustrate various applications of ceil().
Example 1
ceil( -2.8 ) %Returns -2
Example 2
ceil( 2.8 ) %Returns 3
Example 3
ceil( -5.0 ) %Returns -5