Source language: Translate to:

retrieve program Version majorversion, build

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

retrieve program Version majorversion, build

Postby dickvanrijn » Thu Sep 10, 2009 5:33 am

is it possible to retrieve the program info (see NB properties)
so that these info - majorversion, minorversion,release and build- is useable in a program?

Kind regards Dick :?: :D
User avatar
dickvanrijn
 
Posts: 15
Joined: Thu Feb 01, 2007 10:42 am
Location: Germany

Postby Gaev » Thu Sep 10, 2009 6:02 am

Dick:

From the Help File (Predefined Global Variables) ...
[PubVersion]
The publication's version number as specified in Book Properties > Version Info.
User avatar
Gaev
 
Posts: 3735
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Postby HPW » Thu Sep 10, 2009 7:47 am

I think he ask how to use them on runtime.

But when you set them before compiling, you know your version-number.
So simply set also a private variable and you can read them.
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

retrieve program Version majorversion, build

Postby dickvanrijn » Thu Sep 10, 2009 10:02 am

Thankyou Guys!
for every neobooker, you are a great help!!
thanks Dick
User avatar
dickvanrijn
 
Posts: 15
Joined: Thu Feb 01, 2007 10:42 am
Location: Germany


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest