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

danciprian

UK
Posts

Posted - 04/04/2006 :  08:18:50 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version: 7
Operating System: Win XP

I have a worksheet with 400 columns and 200 lines. I am trying to sort ascending each of these columns. Is there a LabTalk/Origin C function that could do that?
Thanks a lot!

Mike Buess

USA
3037 Posts

Posted - 04/04/2006 :  08:58:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Here's one way...

doc -e D {(%C)=sort(%C)};

Mike Buess
Origin WebRing Member
Go to Top of Page

danciprian

UK
Posts

Posted - 04/04/2006 :  10:35:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot!
Do you know where I could find a LabTalk totorial, or some scripting examples?

D.C.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 04/04/2006 :  10:57:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Tutorials are on your Help menu. Scripting examples are scattered throughout the Programming Guide (Help > Programming) and OriginLab's web site. Here are a few links...

http://www.originlab.com/index.aspx?s=9
http://www.originlab.com/index.aspx?s=9&lm=72
http://www.originlab.com/index.aspx?s=9&lm=+151
http://www.originlab.com/index.aspx?s=8&lm=243

You'll also find useful examples in the Origin WebRing user group...

http://g.webring.com/hub?ring=originwebring

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