Page 5 of 5

Posted: Sat Aug 15, 2009 12:48 pm
by Fred
Sure, it was primilary done for that case.

Posted: Sat Aug 15, 2009 12:49 pm
by eesau
Fred wrote:Sure, it was primilary done for that case.
I thought so but wanted to check. Thanks Fred!

Posted: Sat Aug 15, 2009 3:10 pm
by Progi1984
Has SDK been updated for PB 4.41 on all OS ?

Posted: Sun Aug 16, 2009 3:35 am
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

Posted: Sun Aug 16, 2009 5:41 am
by DoubleDutch
Freak: Just read the blog entry - great tip, thanks.

Documentation ?

Posted: Sun Aug 16, 2009 6:44 am
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!

Re: Documentation ?

Posted: Sun Aug 16, 2009 7:34 am
by Comtois
USCode wrote:Is that because this is a beta release and the doc is still in progress
That's it .

Posted: Sun Aug 16, 2009 3:22 pm
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

Posted: Sun Aug 16, 2009 3:26 pm
by freak
On OSX and Linux, some of those tools are in the compilers directory.

Posted: Mon Aug 17, 2009 3:06 am
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

Posted: Mon Aug 17, 2009 7:30 am
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:

Posted: Mon Aug 17, 2009 10:09 pm
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.

Re: PureBasic 4.40 Beta1 released!

Posted: Sat Sep 12, 2009 11:28 am
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