Re: Error 1308 comparing strings

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.)
>
>
>
.



Relevant Pages

  • Re: why use the sealed ?
    ... system that supports inheritance and polymorphism is to promote reusability. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... >> exceeds past the end of the string. ... >> application to be a Remoting Client. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: XP and string paths
    ... > the "Lcase" function is suddenly no longer available to Excel? ... > that occurs because of Windows XP. ... > string functions that Excel uses has become ... > is the usual "missing reference" problem. ...
    (microsoft.public.excel.programming)
  • Re: Windows versus Application Security
    ... Public Property UserNameAs String ... What is the equivalent in a Windows Application? ... So you would just have a login entry from that check the user likely from ... managing and removing windows domain accounts are not the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: problem logging off and shutting down
    ... One using the Windows OS CD ... using repar from the setup menu and another microsoft repair tool that I ran ... I have been all over the Microsoft website and internet trying to ... #1 is a String Value ...
    (microsoft.public.windowsxp.general)
  • Re: RosAsm Bliss, and NASM Bliss
    ... Windows and Linux. ... looks like a Troll compared to the windows one. ... I think its hard to judge from the HLA code. ... checks to see if there is already a string allocated, if so, frees ...
    (alt.lang.asm)