Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

insufficient memory - this old chesnut!

Status
Not open for further replies.

Gilesy

Programmer
Jul 2, 2002
40
GB
I think I've just about exhausted the possiblities for this but my system falls over with insufficient memory at the second line of this snippet of code:

nfile=ntfile2 + ".TXT"
IF FILE(nfile) *********** Crashes!!!!
append memo nmemo from &t_file
ENDIF

Tried MEMLIMIT and so on, but I'm beat by this. Any new ideas greatfully received!
 
Gilesy,
its strange.
? ntfile2 && exactly!
Comment begin with &&.
? exactly error number?
(sometime row number in error is not fully right due "hidden" syntax error in preceded lines..
append more code)
Tesar

 
As Tesar suggests, the exact value of the varible ntfile could make a difference. Does it have embedded or trailing spaces? Does it follow DOS 8.3 standards? Does it try to use a UNC instead of a mapped drive letter?

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top