7.4

Table Of Contents
Code Sample Example
This example converts the data on line 5, columns 12 to 13, to Code 128 bar code C character set data.
Example
c128(@(5,12,13))
Ceil (function)
Returns the smallest integer greater than or equal to the specified measure value.
Syntax
ceil( value ) integer value
Argument
value
Measure 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().
ceil( -2.8 ) %Returns -2
ceil( 2.8 ) %Returns 3
ceil( -5.0 ) %Returns -5
Char (function)
Returns the character whose ASCII value is specified.
Syntax
char( value ) string value
Argument
value
Integer value between 0 and 255, specifying the ASCII index of the character.
Example
show(char(84)+char(97)+char(108)+char(107))
% This displays the word "Talk"
©2010 Objectif Lune Inc - 483 -