Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtofile does't works at run time!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00705868
Message ID:
00705889
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform