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
 Legend labels
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AMHumphries

UK
Posts

Posted - 09/18/2006 :  12:09:06 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): PRO 7.5 SR4
Operating System: WIN XP

I have a graph entirely created through LabTalk, however I want to also use LabTalk to edit the legend on the graph to strings stored in a variable. What command / function do I use to achieve this through LabTalk?

Also, whilst considering it... how does one use arrays of strings in LabTalk? Similar to other languages with n[0] = "Hello world!"; or otherwise?

Mike Buess

USA
3037 Posts

Posted - 09/18/2006 :  1:11:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
What command / function do I use to achieve this through LabTalk?
See this topic... http://www.originlab.com/forum/topic.asp?TOPIC_ID=5119

LabTalk does not support string arrays but it does have substring notation. See your programming guide...

Help > Programming > LabTalk Language Reference > Overview... > Data Types > String Variables

Mike Buess
Origin WebRing Member
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