Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtofile does't works at run time!
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00705868
Message ID:
00705889
Views:
8
Remove the ampersands and try the following:
FOR QWER = 1 TO TEM
    *!* if all you are doing is stripping the extension of the filename:
    AQUI = JUSTSTEM(ARQUIVOSTXT[QWER,1])
    NOMEDAVAR = "VELHO_" + AQUI
    *!* the next line could never be FALSE because of the line above
    IF NOMEDAVAR  <>  AQUI
       ARQUIVO = AQUI + ".TXT"
       =deletemp(arquivo)
       =STRTOFILE(AQUI,ARQUIVO)
       THISFORM.LOGLOG([Edição de listas TXT - alterado arq.: ] + arquivo)
    ENDIF
NEXT
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform