Change in Syntax for Accessing NAG Library Functions

From OriginLab Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:52, 25 February 2009 (edit)
Easwar (Talk | contribs)
(Summary)
← Previous diff
Revision as of 05:21, 19 November 2012 (edit) (undo)
Kathy (Talk | contribs)
(Summary)
Next diff →
Line 4: Line 4:
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. 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.
-In version 8.0 these wrapper functions were discontinued. Thus Origin C code writted in 7.0/7.5 that accessed the old wrapper functions will not compile in 8.0+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 [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 can also be found on the [http://ocwiki.originlab.com/index.php?title=Category:Origin_C_Sample_Codes_to_Access_NAG 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://ocwiki.originlab.com/index.php?title=Category:Origin_C_Sample_Codes_to_Access_NAG Origin C wiki]

Revision as of 05:21, 19 November 2012


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 wiki