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
 line feed and carriage return
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

carsten

Switzerland
78 Posts

Posted - 07/20/2004 :  10:45:33 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Is it possible to incorporate a line feed and a carriage return sequence within the Column Label field of the Worksheet Column Format window like "myColumn label \lf\cr (date: 20-7-04)" ?

Carsten

CStorey

Canada
137 Posts

Posted - 07/22/2004 :  6:31:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
This will do it in a LabTalk script...

%A=Column1
Date (2004/07/22);
wks.col1.label$ = %A;

Althought it appears that this doesn't work...

%A = One\r\nTwo\r\nThree;
wks.col1.label$ = %A;

As Greg pointed out in the previous post there is a switch -sa for the Label command...


Craig Storey
Origin WebRing Member - http://g.webring.com/hub?ring=originwebring

Edited by - CStorey on 07/22/2004 6:34:17 PM
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