|
@@ -12,6 +12,7 @@
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
**********************************************************************}
|
|
**********************************************************************}
|
|
|
|
+{$mode objfpc}
|
|
program mkspreg;
|
|
program mkspreg;
|
|
|
|
|
|
const Version = '1.00';
|
|
const Version = '1.00';
|
|
@@ -40,9 +41,6 @@ end;
|
|
|
|
|
|
function readstr : string;
|
|
function readstr : string;
|
|
|
|
|
|
- var
|
|
|
|
- result : string;
|
|
|
|
-
|
|
|
|
begin
|
|
begin
|
|
result:='';
|
|
result:='';
|
|
while (s[i]<>',') and (i<=length(s)) do
|
|
while (s[i]<>',') and (i<=length(s)) do
|
|
@@ -50,7 +48,6 @@ function readstr : string;
|
|
result:=result+s[i];
|
|
result:=result+s[i];
|
|
inc(i);
|
|
inc(i);
|
|
end;
|
|
end;
|
|
- readstr:=result;
|
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
@@ -73,7 +70,7 @@ procedure skipspace;
|
|
inc(i);
|
|
inc(i);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure openinc(var f:text;const fn:string);
|
|
|
|
|
|
+procedure openinc(out f:text;const fn:string);
|
|
begin
|
|
begin
|
|
writeln('creating ',fn);
|
|
writeln('creating ',fn);
|
|
assign(f,fn);
|
|
assign(f,fn);
|