PureBasic 4.40 Beta1 released!

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Sure, it was primilary done for that case.
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Post by eesau »

Fred wrote:Sure, it was primilary done for that case.
I thought so but wanted to check. Thanks Fred!
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Has SDK been updated for PB 4.41 on all OS ?
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

If you are using the 4.40 beta on Windows x64, then here is a tip on how to better test your 64bit programs (and the PB beta): http://www.purebasic.fr/blog/?p=172
quidquid Latine dictum sit altum videtur
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Freak: Just read the blog entry - great tip, thanks.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Documentation ?

Post by USCode »

The 4.40 documentation doesn't appear to have been updated yet.
Is that because this is a beta release and the doc is still in progress or did I have an installation problem?
Thanks!
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: Documentation ?

Post by Comtois »

USCode wrote:Is that because this is a beta release and the doc is still in progress
That's it .
Please correct my english
http://purebasic.developpez.com/
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Progi1984 wrote:Has SDK been updated for PB 4.41 on all OS ?
freak wrote:If you are using the 4.40 beta on Windows x64, then here is a tip on how to better test your 64bit programs (and the PB beta): http://www.purebasic.fr/blog/?p=172
@Freak : Is that all tools in Windows SDK are in Linux/MacOs SDK ?
MacOS
sdk directory contains pureunit

Linux
sdk directory contains pureunit, libraries-maker, soimporter and c

Windows
sdk directory contains dllimporter, docmaker, Header Converter, Interface Importer, LccWin32, NAsm, pureunit, Syntax Highlighting et libmaker

Link : http://www.purebasic.fr/english/viewtopic.php?t=36481
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

On OSX and Linux, some of those tools are in the compilers directory.
quidquid Latine dictum sit altum videtur
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Post by electrochrisso »

Great work PB team and many thanks. :D

I found a bug in ButtonImageGadget.
The image disappears when you click on the button for PB 440.
The code below works fine for PB 431.

Code: Select all

Text$="PUREBASIC ROCKS"
If OpenWindow(0, 0, 0, 200, 200, "Testing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  CreateImage(0,100,50)
  If StartDrawing(ImageOutput(0))
    tw=TextWidth(Text$):th=TextHeight(Text$)
    StopDrawing()
  EndIf
  FreeImage(0):tw+6:th+4
  CreateImage(1,tw,th)
  If StartDrawing(ImageOutput(1))
    Box(0,0,tw,th,$CCCCCC)
    DrawingMode(#PB_2DDrawing_Transparent)
    DrawText(3,3,Text$,$000000)
    DrawText(2,2,Text$,$FFFFFF)
    StopDrawing()
  EndIf
  ButtonImageGadget(0,10,10,tw,th,ImageID(1))
  Repeat : Event = WaitWindowEvent() : Until Event = #PB_Event_CloseWindow
EndIf
PureBasic! Purely the best 8)
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Post by flaith »

electrochrisso wrote:Great work PB team and many thanks. :D

I found a bug in ButtonImageGadget.
The image disappears when you click on the button for PB 440.
The code below works fine for PB 431.
http://www.purebasic.fr/english/viewtopic.php?t=38522 :wink:
“Fear is a reaction. Courage is a decision.” - WC
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

Thank you very much for those features, especially (in my case) the HashMap (also called dictionnary) datatype which also support structured map... really a great step.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
User avatar
GeBonet
Enthusiast
Enthusiast
Posts: 135
Joined: Fri Apr 04, 2008 6:20 pm
Location: Belgium

Re: PureBasic 4.40 Beta1 released!

Post by GeBonet »

Hi,

Here one little code with the MAP.... and simple form use... ...

Code: Select all

; ===================================================
; 	Simplified form using the features "MAP" 
;                                                                                                   GeBonet
; ===================================================
; If you have ....
; 
    NewMap Test.s() ; 
    Dim T$(5)              ; Array with somme name or other thiing.... Here name. 
    ;                            
    ;                               Buld of the Map and array with the key... 
    ; 
    T$(1)="Fred"      :Test(T$(1)) = "1 - Any sentence that contains all the desired item"
    T$(2)="Timo"     :Test(T$(2)) = "2- Is two or 2"
    T$(3)="Albert"    :Test(T$(3)) = "3-	And this is the additional writing"
    T$(4)="Joseph" :Test(T$(4)) = "4- c'est une série B"
    T$(5)="Dorothe":Test(T$(5)) = "5- It's not a joke but not serious"
    T$(6)="Roberto":Test(T$(6)) = "6- Eu acho que o pais de você e o Brasil ?"
    ; 
    ; A Simple access of this is ... 
    ; 
    FindMapElement(Test.s(),InputRequester("research","Give the key name : ", Clef$))
    MessageRequester("Your answers is / Votre réponse est : ",Test.s(),#PB_MessageRequester_Ok  )
    ;
    End
Sorry for my english :wink: ! (Windows Xp, Vista and Windows 7, Windows 10)
Post Reply