7.5

Table Of Contents
Regionline (function)
Returns an array of strings, containing the text found inside left-top, right-bottom coordinates.
Note: This function only works in Windows Printing or Optimized PostScript Stream. If used in printer centric mode, it will
return an empty string.
Syntax
regionline(x1, y1, x2, y2: measure; [index: integer = 0] string
Argument
x1, y1, x2, y2
Measure values specifying the coordinates, in inches or centimeters, for the area on which to read the data in the current data
page.
index
Integer value specifying the line number to return. If no <>index<> paramter is specified, the default value is 0.
Code Sample Example
This example illustrates how to assign data from the current data page to a string variable by using the regionline() command.
Example
define(&invnum, string, regionline(2.1807,0.3018,3.8843,0.9054, 0))
Related topics:
l "Region (function)" (page 502)
Repeat... Until (procedure)
Repeat a sequence of commands until a condition is true. It is similar to a for... endfor loop in that you can nest the loops. It is
different from a for... endfor loop in that the loop always executes at least once, and that you tie the number of times the
loop repeats to a Boolean condition. For example you might tie the number of times the loop repeats to the occurrence of a
piece of data in the data stream.
Syntax
repeat
until( expression )
Argument
expression
Boolean value. If it evaluates to true, the loop ends. If it evaluates to false, the loop repeats.
©2010 Objectif Lune Inc - 320 -