OSVersion() return values gone from help file

Just starting out? Need help? Post your questions and find answers here.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

OSVersion() return values gone from help file

Post by PB »

How come? I had to go here to find out what they were:

http://www.purebasic.com/documentation/ ... rsion.html

:(
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

True, should be an error !
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Also, do you think you could add a new one that combines these into one:

#PB_OS_Windows_NT3_51
#PB_OS_Windows_NT_4

Thus, #PB_OS_Windows_NT or similar? It would save checking both values
to test for Windows NT, and you can leave both for times when you want
to check for NT4 alone, etc.
plouf
Enthusiast
Enthusiast
Posts: 282
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Post by plouf »

PB wrote:Also, do you think you could add a new one that combines these into one:

#PB_OS_Windows_NT3_51
#PB_OS_Windows_NT_4

Thus, #PB_OS_Windows_NT or similar? It would save checking both values
to test for Windows NT, and you can leave both for times when you want
to check for NT4 alone, etc.
you can get it easily with an Or like this

Code: Select all

Select OSVersion()
  Case #PB_OS_Windows_NT3_51 Or #PB_OS_Windows_NT_4
    
EndSelect
unless if you are speaking about the lazyness to type " Or #PB_OS_Windows_NT_4" :wink:
(i understand you since i am a lyzy guy too :wink: )
Christos
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> you can get it easily with an Or like this
> #PB_OS_Windows_NT3_51 Or #PB_OS_Windows_NT_4

Yeah, I know, but my point is I don't care which NT version the user is
running (3.51 or 4) -- I just need to check if it's NT of any kind, so a new
return value of #PB_OS_Windows_NT would do the job nicely. :)
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

I don't think NT 3.51 is real.. I've never seen anyone use it! :-)

Just kidding. There probably are some people still using it for some reason or another...
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Post Reply