Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Problems with 350mhz
Message
From
16/10/1998 19:23:44
 
 
To
16/10/1998 07:15:51
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00147412
Message ID:
00147721
Views:
19
>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
Map
View

Click here to load this message in the networking platform