Change in Syntax for Accessing NAG Library Functions

From OriginLab Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 05:28, 19 November 2012 (edit)
Kathy (Talk | contribs)
(Summary)
← Previous diff
Current revision (05:30, 19 November 2012) (edit) (undo)
Kathy (Talk | contribs)
(Summary)
 
Line 8: Line 8:
What the upgrade user needs to do is to replace the old wrapper function calls with direct calls to the corresponding NAG functions. The syntax for direct NAG function calls can be found in the NAG PDFs which are optionally installed during Origin installation. The function documentation is provided in the Origin C help files installed with the product. It can also be found on the [http://ocwiki.originlab.com/index.php?title=OriginC:Accessing_NAG_Functions_Category_and_Help Origin C wiki]. What the upgrade user needs to do is to replace the old wrapper function calls with direct calls to the corresponding NAG functions. The syntax for direct NAG function calls can be found in the NAG PDFs which are optionally installed during Origin installation. The function documentation is provided in the Origin C help files installed with the product. It can also be found on the [http://ocwiki.originlab.com/index.php?title=OriginC:Accessing_NAG_Functions_Category_and_Help Origin C wiki].
-Code examples on how to access the NAG functions in Origin 8 or later versions can also be found on the [http://www.originlab.com/www/helponline/Origin/en/Programming/mergedProjects/OriginC/OCGuide/Using_NAG_Functions.html Origin C guide]+Code examples on how to access the NAG functions in Origin 8 or later versions can also be found on the [http://www.originlab.com/www/helponline/Origin/en/Programming/mergedProjects/OriginC/OCGuide/Using_NAG_Functions.html Origin C guide]. If you have Origin version 8.1 SR1 or higher, you may also refer to the [http://wiki.originlab.com/~originla/howto/index.php?title=Tutorial:Calling_NAG_Functions_From_Origin_C tutorial].

Current revision


[edit] Summary

In versions 7.0 and 7.5, NAG library functions were accessible via a collection of wrapper functions. These functions were then listed in the Global Functions category in the Origin C language reference section.

Since version 8.0 these wrapper functions were discontinued. Thus Origin C code written in 7.0/7.5 that accessed the old wrapper functions will not compile in 8.0 or later versions.

What the upgrade user needs to do is to replace the old wrapper function calls with direct calls to the corresponding NAG functions. The syntax for direct NAG function calls can be found in the NAG PDFs which are optionally installed during Origin installation. The function documentation is provided in the Origin C help files installed with the product. It can also be found on the Origin C wiki.

Code examples on how to access the NAG functions in Origin 8 or later versions can also be found on the Origin C guide. If you have Origin version 8.1 SR1 or higher, you may also refer to the tutorial.