QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: badger on October 08, 2020, 03:34:46 pm

Title: how do we display os name
Post by: badger on October 08, 2020, 03:34:46 pm
Hello

I had it a while ago and lost the information there is a command you use to get os type (windows) and weather it is 32 or 64 bit in your software

Badger

Thanks in advance the people here are good people

Title: Re: how do we display os name
Post by: SMcNeill on October 08, 2020, 03:36:22 pm
https://www.qb64.org/wiki/OS$#:~:text=The%20_OS%24%20function%20returns%20the%20operating%20system%20and,bit%20version%20used%20to%20compile%20a%20QB64%20program.

Code: QB64: [Select]

If you just look at the wiki, you’d see the answer to most of these questions.  ;)
Title: Re: how do we display os name
Post by: badger on October 08, 2020, 03:38:47 pm
Hello

dhhh sorry i just could not think about what to search for

thanks very very much

Badger
Title: Re: how do we display os name
Post by: Richard Frost on October 09, 2020, 12:40:50 am
Reading the entire Wiki once, and then at least once a year, is a good
idea. There's also a Random button, thanks to which I found the hilarious
entry for LET.

Who done dat?  Pete?


Title: Re: how do we display os name
Post by: Pete on October 09, 2020, 07:33:43 am
You need to use the QB64 wizard to obtain such results in your programs. Look it up in the wiki under, the Wonderful Wizard of Os.

Let Pete = Haha