git-svn-id: trunk@46456 -
@@ -2,6 +2,7 @@
{ in tp mode can't use the procvar in writeln OK 0.99.11 (PFV) }
{$ifdef fpc}{$mode tp}{$endif}
+{$F+}
type tmpproc=function:longint;
{ problem with procvars in tp mode OK 0.99.11 (PM) }
{$mode tp}
type proc = procedure(a : longint);
procedure test(b : longint);
{ @procvar in tp mode bugss OK 0.99.13 (PFV) }
function ReturnString: string;
begin
@@ -4,6 +4,7 @@
type
codepointer = pointer;
{$endif fpc}
function times2(x : longint) : longint;
@@ -16,6 +16,7 @@ program taddr;
{$ifdef fpc}
{$endif}
procedure testprocvar;
@@ -1,7 +1,7 @@
-{$F+}
tproc = procedure;
@@ -1,4 +1,5 @@
type ProcType = procedure(s:string);
GetProcType = function(s:string;var Proc:ProcType):boolean;
{ Submitted by "marco" on 2002-12-19 }
{ e-mail: [email protected] }
{$ifdef fpc}{$mode TP}{$endif}
function P1:longint; begin end;
function P2:longint; begin end;