_OS$ ?? -> returns the OS and the eiter 32/64 bits -> seems ok for a fucnction called _OS$
Mentioning the "About" window you obviously looking for build information of QB64 or your compiled programs respectivly. This should, however, implemented in a new function, not into _OS$.
But why do you need it?? Guess you wanna check if certain keywords are available for use at runtime. That's useless, as an older QB64 version, which doesn't know a particular keyword would error out anyways, if you try to compile a program which uses this keyword.
Or easier...
You have both QB64 instances installed in their own folder, guess so. Then just create a semaphore file in one folder and in your program simply check for the existence of that file.
eg. just create an empty text file "debug.txt" in the QB64 folder which you use for debugging, then in your program do:Code: QB64: [Select]
Ok, works only as long as you don't use the "Compile EXE to source folder" option from the RUN menu, otherwise you must add the full path to the _FILEEXISTS check.
:) correct Steve, obviously it must be the path relative to the compiled EXE. Expressed different the path from the EXE back into the QB64 main folder, which of course again only works as long as he maintains the same folder structure in both versions.
BTW - I'd go with Fellippes approch here, it's nice and easy and works even globally, as every QB64 setup has the version.bas file in it.