addToNumRecordsScraped

void session.addToNumRecordsScraped ( Object value ) (enterprise edition only)

Description

Add to the value of number of records scraped.

Parameters

  • value Value to be added to the count. Usually a integer but if it is given a string (e.g. "10") it will try to transform it into an integer before adding.

Return Values

Returns void.

Change Log

Version Description
4.5 Available for enterprise edition.

Examples

Record Number of Records Scraped

 // Adds 10 to the value of the number of records scraped.
 session.addToNumRecordsScraped( 10 );

Have session record each time a DataRecord exists

 // In script called "After file is scraped"

 // Adds number of DataRecords in DataSet
 // to the value of the number of records scraped.

 session.addToNumRecordsScraped( dataSet.getNumDataRecords() );

See Also