-->
Page 1 of 1

version() function?

PostPosted: Fri May 06, 2016 12:08 pm
by Electroguard
A rainy day thought...

A lot - no, ALL - functionality is version specific, so if a ver() function was available it could be used at the start of scripts to flag up and prevent scripts being run on inappropriate versions, ie:

if ver() < "A21" print "This script requires A21 or later for IR functionality".

Re: version() function?

PostPosted: Fri May 06, 2016 4:39 pm
by Mmiscool
This can be added relatively easily. There will be a new build tonight and i will see about adding it.

Re: version() function?

PostPosted: Fri May 06, 2016 8:34 pm
by Mmiscool
This has been added in the new build

version():
Will return the version string for the basic interpreter build.
version()