7.6

Table Of Contents
&maxwidth := bitmapwidth( 'fingerprint', 150 )
&maxheight := bitmapheight( 'fingerprint', 200 )
Cos (function)
Returns the cosine value of the specified angle.
Syntax
cos( value ) measure value
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()
CurToFloat (function)
Converts a currency expression into a measure value.
Syntax
curtofloat( expression ) measure value
Argument
expression
Currency value to convert.
Div (function)
Divides an expression with another. This is the functional equivalent to the / operator.
Syntax
div( expression, expression2 ) integer, measure, currency value
Arguments
expression1, expression2
©2010 Objectif Lune Inc - 530 -