* Begin
IF !FILE('sytze.csv')
lnhandle = FCREATE('sytze.csv')
ELSE
lnhandle = FOPEN('sytze.csv', 2)
ENDIF
IF lnhandle > -1
lcstring = '14000.00,"Smart Car","A totally cool little car that gets
45 miles per gallon but does not have room for a spare tire' + ;
' so if you blow out a side wall and go to Discount Tire, you have
to wait for a couple of days for them to get the tire in. Other' + ;
' than that it is really neat. Oh, and if you run over a pipe it
can do up to $1,200 in damage."'
=FPUTS(lnhandle, lcstring)
=FCLOSE(lnhandle)
ENDIF
MODIFY COMMAND sytze.csv
* end
I could not have survived my 20 years without it!
Jeff
Jeff Johnson
[EMAIL PROTECTED]
SanDC, Inc.
623-582-0323
Fax 623-869-0675
Phoenix Python User Group - [EMAIL PROTECTED]
Sytze de Boer wrote:
> HI Jeff, thanks for your help
> I have never in 20 years of foxpro even looked at Fopen, Fwrite etc
>
> Can you spare 30 secs and share how to use FPUTS ?
>
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.