home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
programming
/
misc_programming
/
sample.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-03-30
|
765b
|
29 lines
{(C) 1994 - Shryke & Deliverance}
{$M 4000,0,0} {Compiling directives ... Required!}
{$A+,G+} {Same here!}
Program SampleGusModPlayer;
Uses Crt,
Gustp7; {You change this weither your using Tp6 or Tp7!!}
Var
Modfilename : String;
begin
If ParamCount <> 1 then
Begin
Textcolor(7);
Writeln('Syntax: Sample <Name of Mod>');
Halt;
end;
Modfilename:= Paramstr(1);
Writeln('Playing ',paramstr(1));
PlayGusmod(modfilename); {This Starts the Mod playing...}
Writeln;
Write('Press <ENTER> to stop ...');
Readln;
EndPlay; {This Stops the Mod playing...}
end.