6.0

Table Of Contents
92
Language Reference
4
FieldCount (function)
Returns a count of fields in the current database record. Since all records always hold the same number of
fields, this value will not change unless a new sample data file is used. This function is only useful in
database emulation mode.
Syntax
fieldcount() integer value
Code Sample Example
See “Field (function)” on page 91.
FieldName (function)
Returns the name of the specified field for the current record. This function is only useful in database
emulation mode.
Syntax
fieldname( index ) string value
Argument
index — Integer value specifying the index of the field whose name should be retrieved. Correct values
range from 1 to fieldcount().
Code Sample Example
See “Field (function)” on page 91.
Fill (procedure)
Fills the current closed shape, using the colour specified with the setfillcolor command. Only the inside of
the shape is filled, not its outline. To fill and outline the shape, use strokeandfill command instead. If you
only want to outline the shape, use stroke. Only closed shapes can be filled.
Syntax
fill()
Argument
None