PureBasic 5.10 beta 5

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Re: PureBasic 5.10 beta 5

Post by GeoTrail »

Awesome. Thanks :)



(btw, next tuesday, in one week and one day, it has been exactly 5 months since I quit smoking) YEEYYY ;)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 5.10 beta 5

Post by Lebostein »

Mac OS: UnpackMemory() not found!
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.10 beta 5

Post by Fred »

Please don't use this thread for coding questions, and read the changelog thanks.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: PureBasic 5.10 beta 5

Post by RichAlgeni »

Are we close??? The suspense is killing me!
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureBasic 5.10 beta 5

Post by ts-soft »

RichAlgeni wrote:Are we close??? The suspense is killing me!
The release comes before GeoTrail is quit smoking one year :mrgreen:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Re: PureBasic 5.10 beta 5

Post by GeoTrail »

He he he 1 year is a while off. 5 months in 2 days :P
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Re: PureBasic 5.10 beta 5

Post by GeoTrail »

Haven't the OSVersion function been updated?
When I run this code, it returns unknown version

Code: Select all

Select OSVersion()
  Case #PB_OS_Windows_NT3_51
    Debug "Windows NT 3.51"
  Case #PB_OS_Windows_95
    Debug "Windows 95"
  Case #PB_OS_Windows_NT_4
    Debug "Windows NT 4"
  Case #PB_OS_Windows_98
    Debug "Windows 98"
  Case #PB_OS_Windows_ME
    Debug "Windows ME"
  Case #PB_OS_Windows_2000
    Debug "Windows 2000"
  Case #PB_OS_Windows_XP
    Debug "Windows XP"
  Case #PB_OS_Windows_Server_2003
    Debug "Windows Server 2000"
  Case #PB_OS_Windows_Vista
    Debug "Windows Vista"
  Case #PB_OS_Windows_Server_2008
    Debug "Windows Server 2008"
  Case #PB_OS_Windows_7
    Debug "Windows 7"
  Case #PB_OS_Windows_Future
    Debug "Windows 8"
  Default
    Debug "Unknown version"
EndSelect
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureBasic 5.10 beta 5

Post by ts-soft »

I think you have windows 8?
Use this and don't smoke!

Code: Select all

Select OSVersion()
  Case #PB_OS_Windows_NT3_51
    Debug "Windows NT 3.51"
  Case #PB_OS_Windows_95
    Debug "Windows 95"
  Case #PB_OS_Windows_NT_4
    Debug "Windows NT 4"
  Case #PB_OS_Windows_98
    Debug "Windows 98"
  Case #PB_OS_Windows_ME
    Debug "Windows ME"
  Case #PB_OS_Windows_2000
    Debug "Windows 2000"
  Case #PB_OS_Windows_XP
    Debug "Windows XP"
  Case #PB_OS_Windows_Server_2003
    Debug "Windows Server 2000"
  Case #PB_OS_Windows_Vista
    Debug "Windows Vista"
  Case #PB_OS_Windows_Server_2008
    Debug "Windows Server 2008"
  Case #PB_OS_Windows_7
    Debug "Windows 7"
  Case #PB_OS_Windows_8
    Debug "Windows 8"
  Case #PB_OS_Windows_Future
    Debug "Windows BLUE ;-)"
  Default
    Debug "Unknown version"
EndSelect
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PureBasic 5.10 beta 5

Post by netmaestro »

Code: Select all

Case #PB_OS_Windows_Future
    Debug "Windows BLEW (attire build) ;-)"
BERESHEIT
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Re: PureBasic 5.10 beta 5

Post by GeoTrail »

Duh didnt think about that #PB_OS_Windows_8 hehe
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply