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
 Forum for Origin C
 Origin version

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
j@y Posted - 07/20/2015 : 08:04:00 AM
Hi all,

Presently, I am dealing with function fitting under Origin C. However, to use 'NLFit', the minimum Origin version required is 8 SR0 or 8.1 SR0. In the case my code will be run under a different version of Origin, it would be nice to get the version number to treat an eventual exception or to develop an alternative solution in the case the other person uses an older version.

Please, which function to use to get the numerical value of the current Origin version? Or may I also find out which service pack is installed? So far I only know about a similar 'is_pro_version()' function...

Many thanks for your answers in advance!!
1   L A T E S T    R E P L I E S    (Newest First)
Castiel Posted - 07/20/2015 : 08:45:50 AM
quote:
Originally posted by j@y

Hi all,

Presently, I am dealing with function fitting under Origin C. However, to use 'NLFit', the minimum Origin version required is 8 SR0 or 8.1 SR0. In the case my code will be run under a different version of Origin, it would be nice to get the version number to treat an eventual exception or to develop an alternative solution in the case the other person uses an older version.

Please, which function to use to get the numerical value of the current Origin version? Or may I also find out which service pack is installed? So far I only know about a similar 'is_pro_version()' function...

Many thanks for your answers in advance!!



You can either use the macro _OC_VER or get the system variable @V.

©c¡Ï   ¤È¥¹  ©f¨u©c  ©c¥ì    ¥Î¤³  ©c/     ©¦£¯
 ©c¨Ê¥Î ¤´¥¨  ¥ó ¨×   ¥ó¤á' ¥Ì©¦¥­   /¤í  ¥Õ©¦©f
   ¨Ö             ¦á          ©¦£þ  ©` ¥Õ   ©¦
                              ©¦

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