GetFreeMidiOut
FreeIndex = GetFreeMidiOut()
 
Parameters: NONE
Returns:

    Index = a free MidiOut port
 

The GetFreeMidiOut function returns the index of a MidiOut port that is currently NOT in use. This is particularly useful when you wish to dynamically request and use midiOut ports when needed. This takes the burdon of managing what indexes are currently free to be used, completely off the users shoulders, an hides it away inside Play Basic.
 
Related Info: :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com