/* Delete.rexx */ options results; address MrMPEG MUIA_List_Active = 0x8042391c; MUIA_List_Entries = 0x80421654 MUIA_ShowMe = 0x80429ba8; MUIA_Slider_Level = 0x8042ae3a MUIV_List_Remove_Active = -1 list ID SLIST ATTRS MUIA_List_Active list ID SLIST POS result; parse var result filename','temp_song_time','dummy list ID SLIST REMOVE POS MUIV_List_Remove_Active list ID SLIST ATTRS MUIA_List_Entries; temp_max = result setvar max temp_max text ID MAX LABEL "\033b\033r"temp_max getvar total_time parse var result hrs":"mins":"secs temp_total_time = hrs * 3600 + mins * 60 + secs - left(temp_song_time, 2) * 60 - right(temp_song_time, 2) temp_string = right(temp_total_time % 3600, 2, 0)||":"||, right(temp_total_time // 3600 % 60, 2, 0)":"right(temp_total_time // 60, 2, 0) setvar total_time temp_string text ID TOTAL LABEL "\033b\033r"temp_string check ID PLAY; playing = result getvar current_song if filename = result then do string ID FNAME CONTENT "No song is loaded." text ID LCD LABEL "MrMIDI is also available from Aminet." text ID ACTIV LABEL "\033b\033r 0" text ID CURNT LABEL "\033b\033r00:00" if playing = 1 then call Stop.rexx else slider ID PROG ATTRS MUIA_Slider_Level 0 end return