repeat
if list_ptr^.cday[3] = '#' then <--- 216
_hash_tr:= pred(list_ptr^.tr);
list_ptr:= list_ptr^.list_nxt;
until (_hash_tr <> maxint) or
(list_ptr = nil);
Op Mon, 09 Jan 2012 15:50:53 +0000 schreef Robert AH Prins <spamtrap@prino.org>:
repeat
if list_ptr^.cday[3] = '#' then<--- 216
_hash_tr:= pred(list_ptr^.tr);
list_ptr:= list_ptr^.list_nxt;
until (_hash_tr<> maxint) or
(list_ptr = nil);
RTE 216 = GPF I think?
if list_ptr = nil on entry the code will crash
if (list_ptr<> nil) and (list_ptr^.cday[3] = '#') then
_hash_tr:= pred(list_ptr^.tr)
else writeln('lsit_ptr = nil'); //debug
See what that comes up with?
FWIW, full source can be found in "lift32bit.rar" in the Files section
of the hitching group on Yahoo!
<http://groups.yahoo.com/group/hitching/files/Robert%27s%20programs/>
On 2012-01-09, Robert AH Prins<spamtrap@prino.org> wrote:
FWIW, full source can be found in "lift32bit.rar" in the Files section
of the hitching group on Yahoo!
<http://groups.yahoo.com/group/hitching/files/Robert%27s%20programs/>
That is unaccessable unless you subscribe. Can't you put it up somewhere else?
Before I try to compile your sources with fpc, I try to compile it with
vpc. With the following batch
@echo off
:Main
setlocal
set DevDir=c:\01-lift\vp\dev
set VPC=c:\vp21\bin.w32\vpc -M -V%DevDir%
set Progs=chkdat dat2csv dat2txt dayform get-aud h-h2rtf lift \
newlift h-h2wiki
set LogFile=%~dpn0.log
type nul>"%LogFile%"
pushd "%~dp0"
if not exist "%DevDir%" (md "%DevDir%")
copy /y ..\source\*.* "%DevDir%\" 1>nul
copy /y ..\vpo\*.* "%DevDir%\" 1>nul
pushd "%DevDir%"
touch *.pas *.vpo
for %%a in ( %Progs% ) do (
if "%%~a"=="get-aud" (sed -i -r -e "s_d:_c:_g" "%%~a.vpo"& \ del /f /q sed*.)
%VPC%\%%~a.vpo | tee -a "%LogFile%"
)
popd
popd
endlocal
pause
goto :EOF
:EOF
I get following results:
Virtual Pascal Version 2.1.279 Copyright (C) 2000-2004 vpascal.com
Built in London, UK on 9 May 2004 by build@vpascal.com
c:\01-lift\vp\dev\chkdat.pas(1)
c:\01-lift\vp\dev\chkdat.pas(27): Error 15: File 'hhcommon.vpi' is not found
hhcommon;
..........^
(...)
The file get-aud.vpo contains incorrect path settings; the batch
corrects it on the fly. But the main problem is the missing hhcommon stuff.
Before I try to compile your sources with fpc, I try to compile it with
vpc. With the following batch
(...)
The file get-aud.vpo contains incorrect path settings; the batch
corrects it on the fly. But the main problem is the missing hhcommon stuff.
That is unaccessable unless you subscribe. Can't you put it up somewherehttps://rapidshare.com/files/4179083034/lift-fpc.rar
else?
Executables are renamed to .ex, other assumptions, to enable the use of
the supplied VP .VPO files:
On 2012-01-10, Robert AH Prins<spamtrap@prino.org> wrote:
That is unaccessable unless you subscribe. Can't you put it up somewhere >>> else?https://rapidshare.com/files/4179083034/lift-fpc.rar
Executables are renamed to .ex, other assumptions, to enable the use of
the supplied VP .VPO files:
Free Pascal Compiler version 2.6.0 [2011/12/25] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling lift.pas
Fatal: Can't find unit hhcommon used by lift
Fatal: Compilation aborted
Error: d:\FPC\2.6.0\bin\i386-Win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled
)
On 2012-01-10 10:56, Marco van de Voort wrote:
On 2012-01-10, Robert AH Prins<spamtrap@prino.org> wrote:
Free Pascal Compiler version 2.6.0 [2011/12/25] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling lift.pas
Fatal: Can't find unit hhcommon used by lift
Fatal: Compilation aborted
Error: d:\FPC\2.6.0\bin\i386-Win32\ppc386.exe returned an error exitcode
(normal if you did not specify a source file to be compiled
)
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 67 |
Nodes: | 4 (0 / 4) |
Uptime: | 05:06:46 |
Calls: | 767 |
Calls today: | 1 |
Files: | 7,740 |
Messages: | 295,267 |