A new version if online, you can use SmartUpdate or get the update/full package again. SwapElements() is present now and the IDE should find again the help file when launched from everywhere.
Hey... I couldn't say it better myself so I'm quoting the dictionary:
Excellent
\Ex"cel*lent\, a. [F. excellent, L. excellens, -entis, p. pr. of excellere. See Excel.] 1. Excelling; surpassing others in some good quality or the sum of qualities
Thanks Fred
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
I noticed the call to the Visual Designer from the PB editor menu does not work anymore (path not found). I installed the full package 3.92 by having uninstalled the previous version.
SwapElements works now. Thx.
PureBasic: one of the best programming tools ever ! PB is light, easy, crossplatform, powerfull, fast, extendable, enjoyable and... tasty
Mowen wrote:I noticed the call to the Visual Designer from the PB editor menu does not work anymore (path not found). I installed the full package 3.92 by having uninstalled the previous version.
SwapElements works now. Thx.
It is just a shortcut problem. It is because the "Start in" is not specified. It should be "C:\Program Files\PureBasic". Update the PB shortcut (or create a new one) and then the call to the Visual Designer in the interface will work.
PureBasic: one of the best programming tools ever ! PB is light, easy, crossplatform, powerfull, fast, extendable, enjoyable and... tasty
Thanks again Fred and associates I'm really liking PureBasic!!
One thing. I didn't see any mention of memory leaks with arrays here in the forum. Only leaks with linked lists. The following code had a big memory leak problem in version 3.91 but ver 3.92 fixed it so thanks again. Excellent!
HWND = OpenWindow(0, 220, 164, 400, 14, #PB_Window_ScreenCentered | $2400000 , "Watch Memory and Keep Pressing [Enter]. ~ Use [Esc] to quit.")
If HWND
If CreateGadgetList(WindowID())
EndIf
EndIf
Procedure Villan() ; LOAD SIMULATED DATA INTO ARRAYS
Dim test_1dim$(0) ; This should clear test_1dim ???
Dim test_2dim$(0,0) ; This should clear test_2dim ???
Dim test_1dim$(2000)
Dim test_2dim$(2000,50)
;
For a = 0 To 1000
For b = 0 To 50
;stuff each 2 dimensional element with dummy string.
test_2dim$(a,b) = "neword" + Str(b)
;append s$ to hold full set of "b" elements.
s$ = s$ + test_2dim$(a,b)
Next b
;stuff each 1 dimensional element with "b" set from above.
test_1dim$(a) = s$
s$ = ""
Next a
Beep_(200,100) ; just to verify execution
EndProcedure
Repeat
_mess = WaitWindowEvent()
If _mess = #WM_KEYDOWN
Select EventwParam()
Case #VK_RETURN
Villan()
Case #VK_ESCAPE
_mess = #PB_Event_CloseWindow
EndSelect
EndIf
Until _mess = #PB_Event_CloseWindow
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.