home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMIGA PD 1
/
AMIGA-PD-1.iso
/
Programme_zum_Heft
/
Programmieren
/
Kurztests
/
PascalPCQ
/
Include
/
Utils
/
Parameters.i
< prev
next >
Wrap
Text File
|
1990-12-13
|
658b
|
30 lines
{
Parameters.i
This is the stuff necessary for command line work, including
the Workbench message.
}
{$I "Include:Exec/Ports.i"}
{$I "Include:Workbench/Startup.i"}
{
The following function just returns the Workbench message pointer.
}
Function GetStartupMsg : WBStartupPtr;
external;
{
This procedure copies the requested parameter into the string S.
S must already be allocated, of course. Note that the parameters can
come from the command line or from the Workbench message. S will be
a string of length 0 (in other words S^ = Chr(0)) if the parameter
doesn't exist.
}
Procedure GetParam(n : Short; S : String);
external;