IsMovie()

Syntax

Result = IsMovie(#Movie)
Description
Tests if the given #Movie number is a valid and correctly initialized movie.

Parameters

#Movie The movie to use.

Return value

Returns nonzero if #Movie is a valid movie and zero otherwise.

Remarks

This function is bulletproof and can be used with any value. If the 'Result' is not zero then the object is valid and initialized, otherwise it will equal zero. This is the correct way to ensure a movie is ready to use.

See Also

LoadMovie()

Supported OS

All

<- InitMovie() - Movie Index - LoadMovie() ->