Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
>An associate of mine has the following problem which I have not run into before. Has anyone had this happen? What causes it? Thanks, Renoir
>
>=======================================
>
>The patch.prg (DZPatch) you gave us solved correctly the overflow error of Foxw2600.esl and foxprow.exe. However we have found another problem with fast pc. (>300 Mhz.!?)
>
>We have, for example, a dbf with 4.000 records . We create a popup
>(define popup xxx from 0,0 prompt field Field1+" "+Field2+" "+Fied3
>scroll) and visualize it in a List (@x,y GET abc POPUP xxx...) to search for an item in the list using keyboard...
>
>"Insufficient memory" error message. Slowing the PC (No Chache 2, Ram to Slow etc.) the prg work correctly!
>
>We have the some problem with :
>
> Ctr=0
> DO WHILE .NOT. EOF()
> ctr=ctr+1
> DIMENSION fff(ctr,2)
> fff(ctr,1)=FIELD1+" "+FIELD2+" "+FIELD3
> fff(ctr,2)=RECNO()
> SKIP
> ENDDO
>
>Slowing the PC (No Chache 2, Ram to Slow etc.) the prg work correctly!
>(SCAN .... ENDSCAN seem to work correctly)
>
>RAM= 128 Mb
>CPU= PENTIUM II 350 Mhz Bus 100 Mhz
>Language= Foxpro 2.6A
>
>=======================================
If you initialise "abc", the list variable, to a numeric you should fix the problem. The memory problem only seems to occurs when the memory variable used as the list index is a character string (literally the same as the current value) rather than a numeric, which indicates the position in the list.
HTH
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only