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 |