7.6

Table Of Contents
Integer, measure or currency values. Both expressions must be the same type. The returned value is set according to the type
of the parameters.
Code Sample Examples
Examples 1 and 2 show both ways of dividing numbers.
Example 1
show(inttostr(2/2)) %Displays 1
Example 2
show(floattostr(div(4.7,2.1))) %Displays 2.2381
EPSWidth/EPSHeight (function)
Returns the width or height, in inches, of an Encapsulated PostScript (EPS) image resource.
Syntax
epswidth( name ) measure value
epsheight( name ) measure value
Argument
name
String value that specifies the name of the EPS image resource.
Code Sample Example
This example sets the variable maxwidth to the width, and the variable maxheight to the height of the EPS image resource
wing_nut.
Example
&maxwidth := EPSwidth('wing_nut')
&maxheight := EPSheight('wing_nut')
Get (function)
Returns an element of an array.
Syntax
get( array, position ) array element
Argument
array
Name of the array.
position
©2010 Objectif Lune Inc - 531 -