-- Lingo syntax channel(soundChannelNameOrNum) // JavaScript syntax channel(soundChannelNameOrNum);
Top level function; returns a reference to a Sound Channel object.
soundChannelNameOrNum Required. A string that specifies the name of a sound channel, or an integer that specifies the index position of a sound channel.
This statement sets the variable newChannel to sound channel 9:
-- Lingo syntax newChannel = channel(9) // JavaScript syntax var newChannel = channel(9);