7.4

Table Of Contents
Code Sample Example
set-
fill-
color([getcyan(&c),getmagenta(&c),getyellow(&c),if(getblack(&c)>50,100,getblack(&c)+20)])
GetYellow (function)
Returns the value of the Yellow component of a color array.
Syntax
getyellow( color ) integer
Arguments
color
Color array for which you want to determine the Yellow value.
Code Sample Example
set-
fill-
color([getcyan(&c),getmagenta(&c),getyellow(&c),if(getblack(&c)>50,100,getblack(&c)+20)])
Getmetacount (function)
Returns the number of times an attribute or a field is encountered in the current metadata hierarchy. It can also be used to ver-
ify whether a field or attribute exists by comparing the returned value to zero. Note that attributes can only appear once, and
thus can only yield two possible values, either zero or one.
Syntax
getmetacount(name: string[, flags: integer, path: string]) integer
Arguments
name
The name of the metadata value to count.
flags
Optional integer value to define the behavior of the command.The default behavior uses 0. The flag value to enter should be
the sum of all desired flags. (Eg: GetAttribute and FailIfNotFound would give a flag value of '5').
Name Value Behavior
GetAttribute 1
Search for the name argument in the attribute instead of
the default field .
©2010 Objectif Lune Inc - 520 -