7.5

Table Of Contents
Argument
value
Measure value specifying the angle whose cosine is returned.
Code Sample Example
This example displays a sinusoidal graph.
Example
moveto(0,0)
define(&i,integer,0)
for(&i,1,10,360)
lineto(cos(inttofloat((&i)/ 4)),sin(inttofloat(&i)))
endfor()
closepath()
CRLF (procedure)
Moves the current point by simulating a carriage return/line feed combination. The horizontal position is reset to the value of
the current left margin, while the vertical position is offset by the leading value specified.
Syntax
crlf( [leading] )
Argument
leading
Measure value setting the vertical distance, in inches, between two lines. If you do not provide this argument, the value by
default is 0.167 inches, which is roughly equivalent to a 6 LPI (lines per inch) setting.
Code Sample Example
This example demonstrates how to change the vertical spacing of lines within an object.
Example
margin(1,1)
show('These lines are displayed')
crlf(0.125)
show('at 8 LPI.')
crlf(0.5)
show('While these lines are displayed')
crlf(0.5)
show('at 2 LPI')
CurToStr (function)
Converts a currency expression into a string value.
©2010 Objectif Lune Inc - 266 -