User Tools

Site Tools


finding_20the_20version_20number

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

finding_20the_20version_20number [2018/03/31 13:19]
127.0.0.1 external edit
finding_20the_20version_20number [2018/04/17 16:15] (current)
tbest3112 Added syntax highlighting
Line 2: Line 2:
  
 //by Richard Russell, January 2010//\\ \\  You can discover the version number of **BBC BASIC for Windows** using the following procedure:​\\ ​ //by Richard Russell, January 2010//\\ \\  You can discover the version number of **BBC BASIC for Windows** using the following procedure:​\\ ​
 +<code bb4w>
         DEF FNversion         DEF FNversion
         LOCAL F%, V$         LOCAL F%, V$
Line 12: Line 13:
         CLOSE #F%         CLOSE #F%
         = RIGHT$(V$,​5)         = RIGHT$(V$,​5)
 +</​code>​
 You can call the procedure in a context such as this:​\\ ​ You can call the procedure in a context such as this:​\\ ​
 +<code bb4w>
         version$ = FNversion         version$ = FNversion
         PRINT version$         PRINT version$
 +</​code>​
finding_20the_20version_20number.txt ยท Last modified: 2018/04/17 16:15 by tbest3112