Re: Error 1308 comparing strings
- From: Devers <Devers@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 11:40:05 -0700
I suppose it would help if I mentioned this was in VFP 9.0 running on Windows
XP Pro
"Dan Freeman" wrote:
> What version of VFP? Version of Windows? What else is in your environment?
> Do you get the same error if you extract the offending line of code out of
> your application?
>
> I just did this in the command windows and it works fine:
>
> ? Replicate("x",338852) <> Replicate("x",338852)
>
> Often, the act of extracting a working reproducible failure will point you
> to the *actual* problem which may not have anything whatsoever to do with
> what you thought it was.
>
> Dan
>
> Devers wrote:
> > I'm getting an error 1308 (Insufficient Stack Space) when comparing a
> > string and a memo field with lengths of 169,378 chars and 338,852
> > chars respectively. The command is simply: IF lc_Notes <>
> > cCUST.cu_notes
> >
> > If I put the string into a memo field in a cursor and then compare
> > the two memo fields, I get the same result. Ditto for putting the
> > memo field into a string and comparing the two strings. The Help for
> > system capacities states that character strings or memory variables
> > can be 16,777,184 characters long. Has anyone else run across this
> > problem, and what would you suggest for a work-around? (Besides
> > chopping up the string into 100K pieces for comparison, that just
> > sounds cheesy to me.)
>
>
>
.
- Follow-Ups:
- Re: Error 1308 comparing strings
- From: Dan Freeman
- Re: Error 1308 comparing strings
- References:
- Error 1308 comparing strings
- From: Devers
- Re: Error 1308 comparing strings
- From: Dan Freeman
- Error 1308 comparing strings
- Prev by Date: Re: Error 1308 comparing strings
- Next by Date: Re: Error 1308 comparing strings
- Previous by thread: Re: Error 1308 comparing strings
- Next by thread: Re: Error 1308 comparing strings
- Index(es):
Relevant Pages
|