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
 LabTalk Forum
 copy text data into notes windows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

zangyef

Italy
Posts

Posted - 03/08/2006 :  11:11:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version 6:
Operating System: WinXP Home

Hi everyone,
I would like to know if there is a method to copy text data from a datasheet into a notes window in the project.
I import an ASCII file that contains in the last 6 cell of Data1_A some value that I need to store. I know that I can access that data with the command %A=Data1_A[i]$; but I don't know how to copy the content of the %A variable in the notes window created.
Thank you

Mike Buess

USA
3037 Posts

Posted - 03/08/2006 :  5:46:31 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try this...

type.notes$=Notes; // name of Notes window
saveredirection=type.redirection;
type.redirection=2; // redirect type command to designated Notes window
%A=Data1_A[i]$;
type %A;
// enter more stuff with type command
type.redirection=saveredirection; // stop redirecting when done

Mike Buess
Origin WebRing Member
Go to Top of Page

zangyef

Italy
Posts

Posted - 03/09/2006 :  04:20:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks Myke, I tried and all works well. I should had to read help file before to post...

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