finding_20the_20version_20number
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| finding_20the_20version_20number [2018/03/31 13:19] – external edit 127.0.0.1 | finding_20the_20version_20number [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Finding the version number===== | =====Finding the version number===== | ||
| - | //by Richard Russell, January 2010//\\ \\ | + | //by Richard Russell, January 2010// |
| + | |||
| + | You can discover the version number of //BBC BASIC for Windows// or //BBC BASIC for SDL 2.0// using the following procedure: | ||
| + | |||
| + | <code bb4w> | ||
| DEF FNversion | DEF FNversion | ||
| LOCAL F%, V$ | LOCAL F%, V$ | ||
| Line 12: | Line 16: | ||
| CLOSE #F% | CLOSE #F% | ||
| = RIGHT$(V$, | = RIGHT$(V$, | ||
| - | 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$ | ||
| + | </ | ||
finding_20the_20version_20number.1522502361.txt.gz · Last modified: 2024/01/05 00:17 (external edit)