7.6

Table Of Contents
show(inttostr(2*2)) %Displays 4
Example 2
show(floattostr(mul(4.7,2.1))) %Displays 9.87
Neg (function)
Returns the negative value of the specified expression. This is the functional equivalent to the - sign.
Syntax
neg( expression1 ) integer, measure, currency value
Argument
expression1
Integer, measure or currency value. The returned value is the same type as expression1.
Code Sample Examples
Examples 1and 2 show both ways of negating a number. Negating negative numbers yields a positive result.
Example 1
-12 %Returns -12
-&max %Returns negative of the value of the variable &max
neg(-12.45) %Returns 12.45
PDFWidth/PDFHeight (function)
Returns the width or height, in inches, of a page of a Portable Document Format (PDF) image resource.
Syntax
pdfwidth( name, page ) measure value
pdfheight( name, page ) measure value
Argument
name
String value that specifies the name of the PDF image resource.
page
Integer value that specifies the page of the PDF
©2010 Objectif Lune Inc - 534 -