Reviewing the code of TTxtFile.prg I can't find the method AppLine that is used in the inside the code. Neither the class nor the parent, TFile, has this method.
An example:
In runtime I get:
Called from: => __ERRRT_SBASE(0)
Called from: source\rtl\tobject.prg => TTXTFILE:ERROR(0)
Called from: source\rtl\tobject.prg => (b)HBOBJECT(0)
Called from: source\rtl\tobject.prg => TTXTFILE:MSGNOTFOUND(0)
Called from: source\rtl\tobject.prg => TTXTFILE:APPLINE(0)
Called from: .\source\classes\TTxtFile.PRG => TTXTFILE:SETVALUE(279)
An example:
oFich := TTxtFile():New('texto.txt', FC_NORMAL)
if oFich:Open()
oFich:SetValue('OPTIONS', 'Auto Index', 'Yes')
oFich:End()
endifIn runtime I get:
Called from: => __ERRRT_SBASE(0)
Called from: source\rtl\tobject.prg => TTXTFILE:ERROR(0)
Called from: source\rtl\tobject.prg => (b)HBOBJECT(0)
Called from: source\rtl\tobject.prg => TTXTFILE:MSGNOTFOUND(0)
Called from: source\rtl\tobject.prg => TTXTFILE:APPLINE(0)
Called from: .\source\classes\TTxtFile.PRG => TTXTFILE:SETVALUE(279)
Jorge Ignacio Corral
Enjoy it :)
Enjoy it :)