PureBasic 4.40 Beta1 released!
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
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Freak: Just read the blog entry - great tip, thanks.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Documentation ?
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!
Is that because this is a beta release and the doc is still in progress or did I have an installation problem?
Thanks!
Re: Documentation ?
That's it .USCode wrote:Is that because this is a beta release and the doc is still in progress
Please correct my english
http://purebasic.developpez.com/
http://purebasic.developpez.com/
Progi1984 wrote:Has SDK been updated for PB 4.41 on all OS ?
@Freak : Is that all tools in Windows SDK are in Linux/MacOs SDK ?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
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
- electrochrisso
- Addict
- Posts: 989
- Joined: Mon May 14, 2007 2:13 am
- Location: Darling River
Great work PB team and many thanks. 
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.

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 

- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
http://www.purebasic.fr/english/viewtopic.php?t=38522electrochrisso wrote:Great work PB team and many thanks.
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.

“Fear is a reaction. Courage is a decision.” - WC
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
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Re: PureBasic 4.40 Beta1 released!
Hi,
Here one little code with the MAP.... and simple form use... ...
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
! (Windows Xp, Vista and Windows 7, Windows 10)
