Search found 205 matches

by DeanH
Fri Jan 12, 2024 2:28 am
Forum: Announcement
Topic: PureBasic 6.10 beta 9 is out !
Replies: 269
Views: 35698

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !

I have recompiled all 10 of my school library system's exe modules with the beta release. Windows 10, 64-bit, asm compiler. 100,000 to 150,000 lines of source code in each module. It is a complex database system using SQLite, barcodes, and images. So far, everything seems to work okay. There may be ...
by DeanH
Tue Jan 09, 2024 10:58 pm
Forum: Coding Questions
Topic: Negative values passed to Chr() generate an error
Replies: 5
Views: 725

Re: Negative values passed to Chr() generate an error

I was not sure if it was classified as a bug. I am fully aware the generated error and documentation is correct. But it is a difference in behaviour and it may catch other code. I picked this up when transferring data in a file from one library system to a different one.
by DeanH
Tue Jan 09, 2024 5:43 am
Forum: Coding Questions
Topic: Negative values passed to Chr() generate an error
Replies: 5
Views: 725

Negative values passed to Chr() generate an error

I have spotted a difference between 6.01 and 6.04 / 6.10 with the Chr() function. Using 6.10 beta 1 and 6.04 LTS, ASM, a negative value passed to Chr() generates an error. With 6.01 LTS no error. ;Error if run in 6.04 or 6.10, but no error in 6.01 a = -30 a$ = Chr(a) ;No error with 6.04 and 6.10 a =...
by DeanH
Tue Jan 02, 2024 2:35 am
Forum: Feature Requests and Wishlists
Topic: Automatic restore date and time with UncompressPackFile()
Replies: 1
Views: 389

Automatic restore date and time with UncompressPackFile()

I would like to request UncompressPackFile() sets a file's date and time when uncompressed, or to have a flag to do that. I realize this can be done with PackEntryDate() and SetFileDate() after the file is uncompressed but it would be handy to have this done as part of the uncompress process. This h...
by DeanH
Mon Jan 01, 2024 1:20 am
Forum: General Discussion
Topic: Windows quarantines PureBasic
Replies: 8
Views: 1382

Re: Windows quarantines PureBasic

I did not have this problem when installing 6.10, but ran into this same false positive for PureBasic_Compilation0.exe . Reported by Windows Defender. It first appears in my history list on Dec 29. The quarantined path was C:\Users\PC\AppData\Local\Temp\PureBasic_Compilation0.exe . I was using PB 6....
by DeanH
Fri Dec 29, 2023 2:12 am
Forum: Coding Questions
Topic: Prefilling a List
Replies: 15
Views: 1360

Re: Prefilling a List

This works fine: set.s = "[1,2,3,4,5,8,9,11,15,17,19,45,65,78]" NewList myset() Procedure MakeList(List mylist(), set.s) CreateJSON(0) ParseJSON(0, set) ExtractJSONList(JSONValue(0), mylist()) FreeJSON(0) EndProcedure MakeList(myset(), set) ForEach myset() Debug myset() Next Absolutely co...
by DeanH
Mon Dec 25, 2023 12:44 am
Forum: Coding Questions
Topic: Prefilling a List
Replies: 15
Views: 1360

Re: Prefilling a List

I do this old-school by brute force with a set of procedures. I use lists when a key is not required, and maps when keys are useful. Lists can be sorted as well. ;This procedure adds an integer value to a list, optionally at a specified position Procedure ListAddn(List tempb.i(), value.i , position=...
by DeanH
Sun Oct 08, 2023 11:00 pm
Forum: Announcement
Topic: PureBasic 6.03 LTS is released !
Replies: 184
Views: 37677

Re: PureBasic 6.03 LTS beta 10 is ready to test !

User_Russian wrote: Sat Oct 07, 2023 11:25 am
freak wrote: Fri Oct 06, 2023 8:31 pm If there is anything else we can add to make the IDE more accessible (large or small) feel free to post a feature request or a bug for it.
viewtopic.php?p=608564#p608564
+1 from me, too.
by DeanH
Tue Aug 29, 2023 2:50 am
Forum: Off Topic
Topic: It's too hot for programming
Replies: 23
Views: 2797

Re: It's too hot for programming

If that's deg C, that's fairly warm and muggy. It has been cold where I am (~15) but spring is about to "officially" sprung this Friday and the temp has crept up to 19. Good programming temp. But we have not had anywhere near the rain we have had the last couple of Augusts. Our chook isn't...
by DeanH
Fri Jun 23, 2023 12:25 am
Forum: Announcement
Topic: PureBasic 6.03 LTS is released !
Replies: 184
Views: 37677

Re: PureBasic 6.03 LTS beta 1 is ready to test !

idle wrote: Thu Jun 22, 2023 3:48 am
Kuron wrote: Sat Jun 17, 2023 6:02 am
Fred wrote: Mon Jun 12, 2023 4:33 pm The older you get, you less sleep you need :lol:
You are still very young, my friend.
Ok boomer! :lol:
Just into my 7th decade I find I want to sleep more even though I can't. Between work and "puppy induced insomnia" (quote from a CSI episode), it just is not possible!
by DeanH
Thu Jun 08, 2023 11:40 pm
Forum: Applications - Feedback and Discussion
Topic: Recovered: D-Lib 2.0 script basic
Replies: 11
Views: 5475

Re: Recovered: D-Lib 2.0 script basic

I haven't looked at it since 2007. I'll PM you with a different URL to download from and a different zip file.
by DeanH
Wed Jun 07, 2023 3:23 am
Forum: Off Topic
Topic: Oh crap... PB ransomware
Replies: 221
Views: 56171

Re: Oh crap... PB ransomware

I just ran one exe through Hybrid Analysis. It gave a threat score of 35/100 and pronounced it clean but there is a long list of suspicious things. Fred, I will PM you with the URL of the report.
by DeanH
Wed Jun 07, 2023 2:08 am
Forum: Off Topic
Topic: Oh crap... PB ransomware
Replies: 221
Views: 56171

Re: Oh crap... PB ransomware

Hadn't thought of that. Good point. But then I have not heard of a user that has done it. Most would not even know VT exists. My Department asked me to use something called Hybrid Analysis which did not produce any problems. Just had another call today from a Victoria school in which exe files were ...
by DeanH
Tue Jun 06, 2023 12:09 am
Forum: Off Topic
Topic: Oh crap... PB ransomware
Replies: 221
Views: 56171

Re: Oh crap... PB ransomware

Can already provide some feedback. I tried recompiling using the C-backend as recently as two weeks ago. No difference. In fact, an additional module was flagged that was not picked up with the ASM backend. My guess is that not only is some type of pattern matching involved, but some of the AV syste...