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
 "Unsupported" functions?

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
AlexD2 Posted - 01/12/2014 : 12:34:20 PM
Origin Ver. 9.1
Operating System: Windows 7 (32 bit)

Hi,

What does it mean for a function to be "LabTalk supported" and also what is the use of having "unsupported" functions (especially in the case of X-functions)?

Thanks a lot!

AlexD2
2   L A T E S T    R E P L I E S    (Newest First)
AlexD2 Posted - 01/12/2014 : 8:22:55 PM
I see... Thank you very much for this clear answer!


AlexD2
cdrozdowski111 Posted - 01/12/2014 : 5:39:55 PM
Usually functions listed as either LabTalk supported or not supported are Origin C functions. If they are LabTalk supported, they may be called in LT code. If they are unsupported, they can't be called in a LT script.

Many Origin C functions are listed as not supported in LT because they do something that is only meant to be done in Origin C or they use variable types in their parameters/return values that aren't supported in LabTalk. Sometimes there are Origin C functions that WOULD be useful in LabTalk but for whatever reason the decision was made not to support them in LT. There are ways around this but it requires "wrapping" the function in another Origin C function that IS callable in LabTalk.

As for X-Functions- X-Functions can not only be run via LabTalk but can be designed to be put in product menus/context menus. There may be times that the way the X-Function works is based on a certain set of conditions that can only be guaranteed if it is run within a certain context and one way to do this is by using menus.

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