| Prancha | |
Ola, Consigo fazer a leitura de um arquivo .TXT, como mostrado no trcho de codigo abaixo: dbase store alltrim([&RV12arq]) to arq dbase flag = 0 dbase narq = fopen([&RV12arq]) dbase if narq > 0 dbase conlin = 0 dbase Do while flag = 0 and conlin < 2000 dbase linha = fgets(narq, 240) dbase ConLin = ConLin + 1 dbase store subs(linha,1,3) to ([RV34bancod]) dbase if subs(linha,14,1) = 'T' .and. subs(linha,16,2) = "06" dbase store subs(linha,8,1) to ([RV13Tipreg]) dbase store subs(linha,14,1) to ([RV14Segreg]) Porém gostaria de fazer uma alteração em uma linha e gravá-lo com a função FWRITHE ALguem tem alguma dica ou exemplo?? Att Prancha ----------------------------------------- Para Suscribirse/Desuscribirse: http://www.gxtechnical.com/cgi-bin/hforum.exe?2,3,30,1 Por consultas owner-gx-l@gxtech.com.uy |
|
|
|