getFrameCount  
Top  Previous  Next

val = getFrameCount ( integer Sequence )

Use this function to retrieve the number of frames in a sequence.

Parameters

Sequence  
 
An integer between 1 and 116 specifying the number of the sequence. Values in the range of 100-116 correspond to hidden sequences.  
 
Return value

The number of frames in the sequence.  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
Example

This set of statements grabs a sequence from the video device and prints the number of frames in the sequence:  
 
grabSeq(1, 20, 0)  
Print getFrameCount(1)