User Tools

Site Tools


Finding the version number

by Richard Russell, January 2010

You can discover the version number of BBC BASIC for Windows using the following procedure:

        DEF FNversion
        LOCAL F%, V$
        F% = OPENOUT(@tmp$+"version.txt")
        OSCLI "OUTPUT "+STR$F%
        *OUTPUT 0
        PTR #F% = 0
        INPUT #F%,V$
        CLOSE #F%
        = RIGHT$(V$,5)

You can call the procedure in a context such as this:

        version$ = FNversion
        PRINT version$
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
finding_20the_20version_20number.txt · Last modified: 2018/04/17 17:15 by tbest3112