I know this is a ridiculous question and I admit I am not really good with Delphi yet. I am passing a function but could not get through with the declaration. I just need a real quick help.
My Declaration:
type
TfrmApp = class(TForm)
function GetDosOutput : string; // error is pointing here
My Function:
function GetDosOutput(CommandLine: string; Work: string = 'C:\'): string;
There must be something missing with my declaration. I've tried putting parameters, did all the messy work-arounds, searching for answers everywhere. I even look for declaration tutorials but no avail. If you have any good reference for this I would love to get one and deep dive right away.
Just a quick one, please help.
Help Needed: I was trying to run this but when I tried to compile the compiler message pops "There are errors". And when I click "Ok", it highlights in red the following declaration line:
function GetDosOutput : string;
Unsatisfied declaration...`
– Disillusioned Jan 14 '18 at 03:44