Re: Fastcode CharPosRev B&V 0.6.2
- From: "John O'Harrow" <john@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 14:54:21 -0000
"Dennis" <marianndkc@xxxxxxxxxxxxxxx> wrote in message
news:456c4b8b$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi John
Can you explain why the function call in the errortrap is different from
the
call in the validation function?
My functions have a bug but it is not reveiled in the ErrorTrap call.
Result := CharPosRevFunction(Ch, S) = 0;
if not Result then
begin
ErrorTrap(VALIDATENO, Ch, S);
The Length field or the refcount field must be different there.
The call to the ErrorTrap procedure increments the string reference count
You can see this if you put a watch on:-
pintegerarray(cardinal(s)-8)^
--
regards,
John
The Fastcode Project:
http://www.fastcodeproject.org/
.
- Follow-Ups:
- Re: Fastcode CharPosRev B&V 0.6.2
- From: Dennis
- Re: Fastcode CharPosRev B&V 0.6.2
- References:
- Fastcode CharPosRev B&V 0.6.2
- From: Dennis
- Re: Fastcode CharPosRev B&V 0.6.2
- From: Dennis
- Re: Fastcode CharPosRev B&V 0.6.2
- From: John O'Harrow
- Re: Fastcode CharPosRev B&V 0.6.2
- From: Dennis
- Fastcode CharPosRev B&V 0.6.2
- Prev by Date: Re: Fastcode CharPosRev B&V 0.6.2
- Next by Date: Re: Fastcode CharPosRev B&V 0.6.2
- Previous by thread: Re: Fastcode CharPosRev B&V 0.6.2
- Next by thread: Re: Fastcode CharPosRev B&V 0.6.2
- Index(es):