General information
Category:
Coding, syntax & commands
Title:
Strtofile does't works at run time!
the follow code works at design time; but does't works at run time! anyone has a idea?
> FOR QWER = 1 TO TEM
> AQUI = LEFT(ARQUIVOSTXT[QWER,1],LEN(ARQUIVOSTXT[QWER,1])-4)
> NOMEDAVAR = "VELHO_" + AQUI
> IF &NOMEDAVAR <> &AQUI
> ARQUIVO = AQUI + ".TXT"
> =deletemp(arquivo)
> =STRTOFILE(&AQUI,ARQUIVO)
> THISFORM.LOGLOG([Edição de listas TXT - alterado arq.: ] + arquivo)
> ENDIF
> NEXT
what doesn't work is the line =deletemp(arquivo), function to delete the file (is a txt file) and strtofile(&aqui,arquivo); the contents of the file is always the same (don't change); but if i turn off the computer and return the content is changed!
and after a run the code, if i edit the file with ms dos prompt, the change is ther! but not reflect in windows enviroment!
what happens?
sergio
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only