Search found 3261 matches

by skywalk
Tue Nov 30, 2021 3:38 pm
Forum: Coding Questions
Topic: Compare text files (or sources)
Replies: 15
Views: 654

Re: Compare text files (or sources)

My order of preference for text diff's.
1. WinMerge
2. Notepad++ plugin, x64 preferred, x86 fails on larger files.
3. Fossil, quick and dirty comparisons but most often trigger WinMerge.
4. git is too heavy but similar to Fossil.

There are many other tools, but these suffice.
by skywalk
Sun Nov 28, 2021 4:02 am
Forum: Off Topic
Topic: spam
Replies: 30
Views: 2717

Re: spam

Whoa! Strokes are no joke. Our life programs all have a few bugs in them. I just wish we knew the coder a little better. :)
Stay well netmaestro!

I have the nagging pains of a well worn body.
Constant knee pain and pee breaks interrupting my most awesome dreams :evil:
by skywalk
Fri Nov 26, 2021 9:57 pm
Forum: Announcement
Topic: PureBasic 6.00 Beta 1 released !
Replies: 316
Views: 69008

Re: PureBasic 6.00 Beta 1 released !

Fred, you always make the Holidays special! This is my favorite gift :mrgreen:
Can't wait to unwrap it...
by skywalk
Thu Nov 18, 2021 6:25 pm
Forum: Tricks 'n' Tips
Topic: Modern Splitter Gadget with PureBasic
Replies: 12
Views: 1807

Re: Modern Splitter Gadget with PureBasic

Looks nice!
There is weird behavior at the extremes. Like pulling the splitter to the bottom.
The splitter disappears and cannot recover.
by skywalk
Wed Nov 10, 2021 11:20 pm
Forum: Coding Questions
Topic: Why the type LONG work differently in x86 and x84 complier?
Replies: 19
Views: 1458

Re: Why the type LONG work differently in x86 and x84 complier?

Regardless of x86 or x64, you should know the size of your variables. I use this cheat sheet. Maybe we can expand the data types with v6 :idea: Structure ScanAllTypes ;-!PB Datatypes ; Allows 1 Define for all datatypes to be scanned. ; Define *p.ScanAllTypes = @somevariable or *somememory ; Consider...
by skywalk
Tue Nov 02, 2021 9:13 pm
Forum: The PureBasic Editor
Topic: Opensource PureBasic IDE now much easier to build
Replies: 26
Views: 3778

Re: Opensource PureBasic IDE now much easier to build

Boom! That is great news.
Opens up contributions from us simpler folk. :)
by skywalk
Mon Nov 01, 2021 7:36 pm
Forum: Off Topic
Topic: Change table designation in sqlite
Replies: 2
Views: 1585

Re: Change table designation in sqlite

Is this a one-time fix? Meaning, can you load the database in DB Browser for SQLite and make your edits manually? Else, the programmatic approach is to create your desired DB and tables, then walk through the original DB AS ATTACHED with SELECT's and UPDATE's into new DB. Your example is confusing s...
by skywalk
Fri Oct 22, 2021 3:58 pm
Forum: Feature Requests and Wishlists
Topic: [Done] Need ClearArray() command
Replies: 7
Views: 3494

Re: [Done] Need ClearArray() command

That does not handle string arrays and C optimizer performance is what counts.
by skywalk
Sat Oct 09, 2021 5:24 pm
Forum: Coding Questions
Topic: Help me: Convert C++ to PB. Thanks for help <3
Replies: 3
Views: 696

Re: Help me: Convert C++ to PB. Thanks for help <3

Are you sure Bool = byte?
Always compare sizeof(struct) in both languages.
by skywalk
Sat Oct 09, 2021 2:45 pm
Forum: Coding Questions
Topic: Run second sqlite query before finishing the previous query?
Replies: 7
Views: 875

Re: Run second sqlite query before finishing the previous query?

As mentioned, you can do a lot with better SQL logic. You could create temp tables in memory from sequential queries and then make your final select. Or massage your original table design to support your most frequent queries. Example, you always add col a,b,c, then make a sumcol. Extreme data norma...
by skywalk
Thu Oct 07, 2021 7:18 pm
Forum: Announcement
Topic: Blog post !
Replies: 299
Views: 67368

Re: Blog post !

Getting closer!
by skywalk
Mon Oct 04, 2021 10:49 pm
Forum: Announcement
Topic: PureBasic 6.00 Beta 1 released !
Replies: 316
Views: 69008

Re: PureBasic 6.00 Alpha 5 released !

Given optimization with gcc and other compilers outperform PB's asm, this is not a high priority for me.
The non-x86 platforms are upon us now. RaspberryPI and many flavored ARM based mini-computers open up a large market and low cost deployment for ioT. :idea:
by skywalk
Mon Oct 04, 2021 8:32 pm
Forum: Announcement
Topic: PureBasic 6.00 Beta 1 released !
Replies: 316
Views: 69008

Re: PureBasic 6.00 Alpha 5 released !

We do have to back out any ASM code before selecting the C compiler.
Are there any other big syntax changes?
by skywalk
Thu Sep 30, 2021 3:13 am
Forum: General Discussion
Topic: PureBasic vs B4J
Replies: 12
Views: 1999

Re: PureBasic vs B4J

RAD means Rapid Application Development. VB6 was considered RAD because its form editor and IDE produced live code and "edit and continue" if making changes on the fly. I would put PB in the DRA, Develop Rapid Applications, bucket. The PB form editor is not as fluid as VB6 but is also not ...
by skywalk
Thu Sep 23, 2021 5:30 pm
Forum: General Discussion
Topic: PureBasic business applications
Replies: 6
Views: 1751

Re: PureBasic business applications

Buy both :mrgreen:
Look through the canvasgadget examples in the forum. Else, the gui elements are cut and dry.
The business app world is wide open so not sure where to direct.
Database access is quite smooth in PB.