Fórum nil #192964
05/11/2003
0
if NomeTextFile = nil then ???? (não funciona)
Marcela
Curtir tópico
+ 0Posts
05/11/2003
Tectaf
if NomeTextFile = ´´ then
Tente utilizar somente aspas simples.
Um abraço.
Gostei + 0
05/11/2003
Flavioklein
var
arq : textfile;
begin
assignfile(arq,´nome do arquivo´);
{$I-}
reset(arq);
{$I+}
if ioresult <> 0 then
showmessage(´não existe arquivo .... blablabla´)
else
if filesize(arq) = 0 then
showmessage(´arquivo vazio....blablabla´);
...
....
closefile(arq);
end;
Valeu!
Tchau! :D
Gostei + 0
05/11/2003
Beppe
if TTextRec(T).Handle = 0 then
Ataliba
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)