And the compiler is about 4 times faster, compiling Visual Designer dropped from 8 to 2 secs now
PureBasic 4.20 Beta 2 (Windows)
I am suspecting a little bit of instability in the 4.2B2 version.
I am atm getting some ima's from a procedure using the pbosl Sqlite3 commands which run without fault in 4.10.
Not sure whether to post this in the bugs forum or not due to the 3rd party lib thing??
A code sample where this is happening. If I use an illegal character in the Qry$ such as say< ' > which will cause a fail,after the message requester with the Sqlite message I get an IMA on the procedurereturn.
This same procedure works without fault in 4.10.
p.s. yes I know this little procedure needs more error checking etc, it is only in draft mode atm.
I am atm getting some ima's from a procedure using the pbosl Sqlite3 commands which run without fault in 4.10.
Not sure whether to post this in the bugs forum or not due to the 3rd party lib thing??
A code sample where this is happening. If I use an illegal character in the Qry$ such as say< ' > which will cause a fail,after the message requester with the Sqlite message I get an IMA on the procedurereturn.
This same procedure works without fault in 4.10.
Code: Select all
Procedure Supplier_SelectSearch()
Qry$="Select * from Supplier where Name like '"+GetGadgetText(#String_SupplierSearch_Name)
Qry$+"%' and Short_Name like '"+GetGadgetText(#String_SupplierSearch_ShortName)+"%'"
Qty$+"or Short_Name like '"+GetGadgetText(#String_SupplierSearch_ShortName)+"%'"
If SQLite3_GetRecordset(Qry$,Hdb,@Rs)
If Rs\Handle
NewList Temps.sInfo()
ClearList(Temps())
ClearGadgetItemList(#ListIcon_SupplierSearch_List)
While Rs\EOF=0
AddElement(Temps())
If SQLite3_GetRecordsetValueByName("ID",@Rs)
Temps()\ID=Val(Rs\sValue)
EndIf
If SQLite3_GetRecordsetValueByName("Short_Name",@Rs)
Temps()\ShortName$=Rs\sValue
EndIf
If SQLite3_GetRecordsetValueByName("Name",@Rs)
Temps()\SupplierName$=Rs\sValue
EndIf
If SQLite3_GetRecordsetValueByName("StName",@Rs)
Temps()\StreetName$=Rs\sValue
EndIf
If SQLite3_GetRecordsetValueByName("Suburb",@Rs)
Temps()\Suburb$=Rs\sValue
EndIf
If SQLite3_GetRecordsetValueByName("PCode",@Rs)
Temps()\PostCode$=Rs\sValue
EndIf
SQLite3_RecordsetMoveNext(@Rs)
AddGadgetItem(#ListIcon_SupplierSearch_List,-1,Str(Temps()\ID))
pos.l=CountGadgetItems(#ListIcon_SupplierSearch_List)
SetGadgetItemText(#ListIcon_SupplierSearch_List,pos-1,Temps()\ShortName$,1)
SetGadgetItemText(#ListIcon_SupplierSearch_List,pos-1,Temps()\SupplierName$,2)
SetGadgetItemText(#ListIcon_SupplierSearch_List,pos-1,Temps()\StreetName$,3)
SetGadgetItemText(#ListIcon_SupplierSearch_List,pos-1,Temps()\Suburb$,4)
SetGadgetItemText(#ListIcon_SupplierSearch_List,pos-1,Temps()\Postcode$,5)
Wend
EndIf
SQLite3_ReleaseRecordset(@Rs)
Result.l=1
Else
MessageRequester(#Title,SQLite3_GetLastMessage())
EndIf
ProcedureReturn Result
EndProcedurep.s. yes I know this little procedure needs more error checking etc, it is only in draft mode atm.
Adding bugs?Dare wrote:Every 14,400 compiles you save a day!
CorLuvADuck, Berikco!What are you going to do with all that extra time?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
It's hard to identify that the debugger is off in 4.2. Instead of indenting the entire "Use Debugger" line in the menu there is just a tiny check mark on the left side which is even harder to read because of the high contrast blue gradient.
Please revert the theme changes made for 4.2. The IDE was fine before and does not need to go down the path of becoming an eyesore like Visual Studio.
Please revert the theme changes made for 4.2. The IDE was fine before and does not need to go down the path of becoming an eyesore like Visual Studio.
-
BriceManuel
- Enthusiast

- Posts: 195
- Joined: Thu Nov 29, 2007 8:23 am
Preferences - General - Display Icons in the MenuMistrel wrote:It's hard to identify that the debugger is off in 4.2. Instead of indenting the entire "Use Debugger" line in the menu there is just a tiny check mark on the left side which is even harder to read because of the high contrast blue gradient.
Please revert the theme changes made for 4.2. The IDE was fine before and does not need to go down the path of becoming an eyesore like Visual Studio.
사십 둘 .


