Order of functions
Hi,
I'm evaluating the scripting engine and so far, I really like it.
In our program the script will be used to calculate some difficult pharmacy problems.
The script contains some functions which operate on my own created objects.
Now I would like to have some section where I can define the functions.
Is there any possibility to have something like:
interface
function MyFunction1: aResultType;
function MyFunction2: aResultType;
implementation
function MyFunction1: aResultType;
begin
dosomething here ...
end;
function MyFunction2: aResultType;
begin
end;
I know I can order them so there will be no problem, but for the moment i'm stuck on this.
I have a function (function1) which must be implemented before some other function, but inside this function1, I need to evaluate some other function (function2) which MUST be below function1, because of the order of the functions.
Is there any solution to this? this would be very great.
Regards,
Wouter Devos
I'm evaluating the scripting engine and so far, I really like it.
In our program the script will be used to calculate some difficult pharmacy problems.
The script contains some functions which operate on my own created objects.
Now I would like to have some section where I can define the functions.
Is there any possibility to have something like:
interface
function MyFunction1: aResultType;
function MyFunction2: aResultType;
implementation
function MyFunction1: aResultType;
begin
dosomething here ...
end;
function MyFunction2: aResultType;
begin
end;
I know I can order them so there will be no problem, but for the moment i'm stuck on this.
I have a function (function1) which must be implemented before some other function, but inside this function1, I need to evaluate some other function (function2) which MUST be below function1, because of the order of the functions.
Is there any solution to this? this would be very great.
Regards,
Wouter Devos
Comments
Thanks.
Regards,
Wouter Devos