Is there a way to do something like this?
Simba Code:function test() : Boolean;
begin
end;
procedure a(Func: function: Boolean);
begin
if @func = test then
blahblah
//or
if @func = @test then
blahblah
end;
Is there a way to do something like this?
Simba Code:function test() : Boolean;
begin
end;
procedure a(Func: function: Boolean);
begin
if @func = test then
blahblah
//or
if @func = @test then
blahblah
end;
Var = reference. Equivalent to addr(X);
@ = address operator.
^V = Pointer to variable of type V.
V^ = Derefence variable V. Aka the Value V holds/points to.
Totally different things. Pascal script does not have true pointer support and thus it is not possible as far as I know, to compare references.
Lape:
Simba Code:var
P: ^Integer;
begin
P := @F;
writeln(P);
writeln(@F);
end.
Last edited by Brandon; 12-16-2012 at 06:55 AM.
I am Ggzz..
Hackintosher
There are currently 1 users browsing this thread. (0 members and 1 guests)