Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Low level commands
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00488740
Message ID:
00489985
Vues:
9
>I am not use to using low level commands and not sure what is happening. I first get the impression the newly created file isn't closing, therefore, its not getting reopened and getting written to the new file. Can someone help?
>
>test1=fcreate('c:\trial.csv')
>? test1 && generates 8

>test2=fclose('c:\trial.csv')
>? test2 &&generates .f.
I think what Mike was saying means: fclose(test1) is what needs to be here


>
>test3=fopen('c:\trial.csv',12)
>? test3 && generates -1
>
>teststring="Hi There."
>test4=fputs('c:\trial.csv',teststring,9)
>? test4 &&generates 0
>
>test5=fclose('c:\trial.csv')
>? test5 &&generates .f.
>
>TIA
>Jim
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform