Function: GetSelectedGamesCount
Version 2.0+

Function GetSelectedGamesCount(SourceDest As Integer) As Integer

This function returns an integer holding the number of selected files 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 GetSelectedGames function to get the names of the selected files.

Example

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