Function: GetAllGamesCount
Version 2.0+

Function GetAllGamesCount(SourceDest As Integer) As Integer

This function returns an integer holding the number of games in the source or destination directory. If SourceDest is 1 then you will the count of the Source directory, otherwise you'll receive the count from the Destination directory.

Use the GetAllGames function to get the names of the selected files.

Example

Dim Games As Variant
    
Print "SOURCE GAMES"
Print "============"
    
Games = EF.GetAllGames(1)
    
For i = 1 To EF.GetAllGamesCount(1)
    Print Games(i)
Next i
    
Print "DEST GAMES"
Print "=========="
    
Games = EF.GetAllGames(2)
    
For i = 1 To EF.GetAllGamesCount(2)
    Print Games(i)
Next i