7.6

Table Of Contents
Argument
array
Name of the array.
position
Integer specifying the position in the array, of the element you want to retrieve. Recall that the first position in an array is 0,
the second is 1, the third 2, etc.
Code Sample Examples
Examples 1 and 2 are equivalent representations of using the get() command.
Example 1
&month := get(&MyArray,12)
Example 2
&month := &MyArray[12]
GetBlack (function)
Returns the value of the Black component of a color array.
Syntax
getblack( color ) integer
Arguments
color
Color array for which you want to determine the Black value.
Code Sample Example
set-
fill-
color([getcyan(&c),getmagenta(&c),getyellow(&c),if(getblack(&c)>50,100,getblack(&c)+20)])
GetCyan (function)
Returns the value of the Cyan component of a color array.
©2010 Objectif Lune Inc - 488 -