The strings creation is needed.

Code:
STRING *strArray[10];

function strArray_create ()
{
   int index=0;
   for ( ; index<10; index+=1 )
      strArray[index] = str_create("");
}

function strArray_remove ()
{
   int index=0;
   for ( ; index<10; index+=1 )
      str_remove ( strArray[index] );
}

function main ()
{
   strArray_create ();
   str_cpy ( strArray[0], "song1.mp3" );
   var hndSong = media_play ( strArray[0], NULL, 100 );
   while ( media_playing ( hndSong ) )
      wait(1);
   strArray_remove ();
   sys_exit ( NULL );
}