Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a date from .txt file or variable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01329441
Message ID:
01329532
Vues:
17
I did as below:

myFile = FILETOSTR("RP471982546BR.TXT")

ALINES(myArray,Myfile)
? myArray[6]

I got the me message "subscript it out of range"
Should it be because of the blank line in the top of to .txt ?


*******************************************************RP471982546BR.TXT**************************************************

RP471982546BR - Histórico do Objeto
O horário não indica quando a situação ocorreu, mas sim quando os dados foram recebidos pelo sistema, exceto no caso do SEDEX 10 e do SEDEX Hoje, em que ele representa o horário real da entrega.
DataLocalSituação
04/07/2008 10:54AC PRESIDENTE EPITACIO - PRESIDENTE EPITACIO/SPConferido
04/07/2008 10:33AC PRESIDENTE EPITACIO - PRESIDENTE EPITACIO/SPAguardando retirada
Endereço: RUA FLORIANOPOLIS, 3-10 PRESIDENTE EPITACIO - CENTRO
04/07/2008 03:48CTCE BAURU - BAURU/SPEncaminhado
Em trânsito para AC PRESIDENTE EPITACIO - PRESIDENTE EPITACIO/SP
02/07/2008 15:37CTE CAMPINAS - VALINHOS/SPEncaminhado
Encaminhado para CTCE BAURU - BAURU/SP
01/07/2008 16:03AC SAO ROQUE - SAO ROQUE/SPEncaminhado
Em trânsito para CTE CAMPINAS - VALINHOS/SP
*****************************************************************************************************************************************
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform