Hi, Dan

CSV is just a simple text file, which uses some delimiter, often a comma --> C, to 
separate the column values.

You can create a text file by your own using OPEN and fill the file using WRITE. 
(Don't foget to CLOSE the file, after you completed all your work.)
Be aware to enclose text containing quotes and other special chars like CR, TAB etc 
with double quotes. (")

This should work.

Axel.







[EMAIL PROTECTED]@rational.com on 20.07.2001 18:50:19

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:     [EMAIL PROTECTED]
cc:      (bcc: Axel Huch/HBG/MS/PHILIPS)
Subject:  (ROSE) file format
Classification:




Hi, All

I am writing a script to extract certain information out of model file.
Right now, the information is writen into excel application using ole,
and saved as ".xls" file.

I really need the file to be ".csv" file, which could be open with
notepad. I know I would open the .xls file through excle, then use
saveas to save to .csv file. But I wonder could I do it through my
script instead of manually???

I tried to use fileName$ = SaveFilename$ ("Create a Excel File for Use
Case",  "Excel document:*.csv"). It seems only the file extension is
changed, and it still can't be read with notepad.


Any input is appreicated.

Dan Liu
Graduate Student
Dept. of Computer Science


************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************





************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to