The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Export Worksheet Data in ASCII File
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

meenken

Germany
1 Posts

Posted - 07/17/2003 :  06:46:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I would like to exoprt my Worksheet data in an ASCII file using the ORIGIN C.
There is an option to do it in the file menu (Export ASCII..) but I could not find it in the ORIGIN C language.
I already tried it with the file class and the following example.
Unfortunately it did not write an ascii file because I can not read the data.

file ff;
int bb[4] = {1, 2, 3, 4};
ff.Write(bb, sizeof(bb));

Thanks in advance for your help.

Thomas

Septor

Austria
12 Posts

Posted - 07/17/2003 :  07:37:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
LT_execute("Save -w wksName fileName");

fileName is the Name of the Ascii-File
- must be a full path description
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000