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
 Write a string in a cell using Cell(1,1)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Simon Kirner

3 Posts

Posted - 12/28/2010 :  11:10:23 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.1
Operating System:Win XP SP 3

Hello,
I would like to write a string variable (pname$) into a cell like this:

string pname$ = test;
cell(1,1) = pname$;

However, I just get a NULL as if cell only takes integers...Do I have to use range?
Thanks for ur help!
Simon

Simon Kirner

3 Posts

Posted - 12/28/2010 :  11:35:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
cell(1,1)$ = pname$;

works!
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