Question on VM RISC Markers
Posted: Tue Mar 11, 2014 1:08 am
Hello
I just need some clarification on when to use VM Markers within routines in Delphi.
Example:
Are the VM RISC Marker working correctly in BOTH functions?
What I mean is, Test1 calls Test2 but is within VM RiSC Marker. Then Test2 is executes and starts another VM RISC marker. A VM Marker inside another. Is this legal?
May help would be great.
Thanks
Les
I just need some clarification on when to use VM Markers within routines in Delphi.
Example:
Code: Select all
function Test2 : boolean;
var
y,x : integer;
begin
{$I vm_risc_begin.inc}
y := 1
x := 1;
result := False;
if y=x then result := True;
{$I vm_risc_end.inc}
end;
function Test1 : boolean;
begin
{$I vm_risc_begin.inc}
result := False;
if Test2 then result := True;
{$I vm_risc_end.inc}
end;
What I mean is, Test1 calls Test2 but is within VM RiSC Marker. Then Test2 is executes and starts another VM RISC marker. A VM Marker inside another. Is this legal?
May help would be great.
Thanks
Les