7.5

Table Of Contents
endif()
Length (function)
Returns the length of a string, or the number of elements in an array.
Syntax
length( element ) integer value
Argument
element
Either a string value, or an array variable.
Code Sample Example
Example 1
This example creates an a string array with the same number of elements as the &parts array.
define( &partnames, arraystring, length( &parts ) )
Example 2
This example prints part of a string, starting after a specific delimiter.
define(&data,string,'This is a~sample string')
define(&x,integer, pos('~', &data))
%Find tilde
if(&x>1)
show(right(&data,length(&data)-&x))
%Show remainder of string
endif()
LineTo/RLineTo (procedure)
Draws a line starting from the current point up to the specified coordinates.
Syntax
lineto( x, y )
©2010 Objectif Lune Inc - 299 -