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
 "Unsupported" functions?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AlexD2

France
19 Posts

Posted - 01/12/2014 :  12:34:20 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

cdrozdowski111

USA
247 Posts

Posted - 01/12/2014 :  5:39:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

AlexD2

France
19 Posts

Posted - 01/12/2014 :  8:22:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I see... Thank you very much for this clear answer!


AlexD2
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