Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Low level commands
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00488740
Message ID:
00489985
Views:
8
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform