7.6

Table Of Contents
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"
CharPath (procedure)
Creates a path in the shape and size of a text string, in the currently active style.
Syntax
charpath(string)
Argument
None
Example
This example creates a path of the word "Text" and applies it as a clipping path on the coffee_time bitmap. This creates the
word Text where the filling texture is the cofee_time image.
moveto(&width / 2, &height / 2)
charpath('TEST')
clippath()
moveto(0,0)
showbitmap('coffee_time',&document.picturecolorres,&width,&height)
©2010 Objectif Lune Inc - 261 -