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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 $smooth -- what is this?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
asteria Posted - 03/29/2010 : 6:11:16 PM
Origin Ver. Origin 7.5 SR6
Operating System: XP

When I checked some of the labtalk scripts, I found sth like "$Smooth".
What does the $ sign mean? What is it used for?

3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 03/30/2010 : 10:42:33 AM
The notation with leading $ and no following parentheses is indeed special and it means to

$ = Look in the ORIGIN.OMG file
Smooth = In the [Smooth] Section
Order9 = And return the string value of the Order9 keyword

So %K = $Smooth.Order9
assigns
First Second Third Fourth Fifth Sixth Seventh Eighth Ninth
to %K.
asteria Posted - 03/30/2010 : 05:28:18 AM
I read the wiki and it seems still unclear to me.
This line is from Smooth.ogs in origin files.

%K=$Smooth.Order9;

Does the $ sign in front of Smooth mean something special or substitution?
Penn Posted - 03/30/2010 : 03:28:29 AM
Hi,

$ sign is one kind of substitutions in LabTalk. You can refer to this page for more information. Please note that this page is for the latest version, Origin 8.1, and some features do not exist in Origin 7.5. If you are interested, you can download a demo and have a try.


Penn
OriginLab Technical Services

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000