Search found 30 matches

by elwood
Mon Sep 02, 2024 12:58 pm
Forum: Coding Questions
Topic: Missing constants in the documentation
Replies: 10
Views: 2032

Re: Missing constants in the documentation

Oh, I didn't think it was beyond the scope of the PB manual.
Ok then.

Thanks.
by elwood
Sun Sep 01, 2024 10:54 pm
Forum: Coding Questions
Topic: Can an exe be made to delete itself?
Replies: 28
Views: 10773

Re: Can an exe be made to delete itself?

12 years later, I can report that it works silently on Windows 2022.
by elwood
Sun Sep 01, 2024 10:26 pm
Forum: Coding Questions
Topic: Missing constants in the documentation
Replies: 10
Views: 2032

Re: Missing constants in the documentation


A lot of these are Windows API constants. #MAX_PATH is documented by Microsoft here , for example.



All built-in constants are listed in the IDE's Structure Viewer on the „Constants“ tab.
I don't think it's necessary to repeat them in the help.


Hum, how complete a documentation is if it's ...
by elwood
Fri Aug 30, 2024 10:42 pm
Forum: Coding Questions
Topic: Missing constants in the documentation
Replies: 10
Views: 2032

Missing constants in the documentation

By a search in Google, I learnt about these 2 constants : #CRLF$ and #MAX_PATH.
They could be added to the "PureBasic Constants" page.

Now I wonder which other constants I missed :P
by elwood
Fri Aug 30, 2024 6:01 pm
Forum: AmigaOS
Topic: PB 4.0 data types - no float vars?
Replies: 4
Views: 16130

Re: PB 4.0 data types - no float vars?

Confirmed.
A1000, A500, A2000 didn't have a FPU for sure.
They appeared later with CPU cards like the Apolo030/060 or Blizzard cards.
by elwood
Thu Aug 29, 2024 4:47 pm
Forum: Announcement
Topic: PureBasic 6.12 LTS is out !
Replies: 92
Views: 50971

Re: PureBasic 6.12 beta 3 is out !


This actually came in 6.10. Fred explained why here , and if you have an app where size really, really matters, 6.04 isn't that old and should still produce binaries in the 20 KB range like that.


Ah, I was reacting to "New linker for DLL creation to have smaller binary size (Windows)" :-D ...
by elwood
Tue Aug 27, 2024 11:05 pm
Forum: Announcement
Topic: PureBasic 6.12 LTS is out !
Replies: 92
Views: 50971

Re: PureBasic 6.12 beta 3 is out !

I had a small script that compiled into a 22KB binary (compiled in 2019). Now with 6.11, it creates a 159KB file. Ouch!
by elwood
Fri Jan 05, 2024 12:09 am
Forum: Feature Requests and Wishlists
Topic: PureBasic Pro
Replies: 24
Views: 6712

Re: PureBasic Pro

Yes, I read Fred's comment.
I think a "payment for some work in return" is a more solid cooperation than a "hope they will donate - hope they will work on PB".
Be sure I often donated a lot to open source projects and often with no real visible benefit.
I understand the team point of view. I thought ...
by elwood
Thu Jan 04, 2024 12:11 am
Forum: Feature Requests and Wishlists
Topic: For var in (string1, string, string3)
Replies: 8
Views: 1690

Re: For var in (string1, string, string3)

Thanks everyone for the ideas.
I tend to think our suggestions could make a better Purebasic but I just read this thread so I now understand it will not happen.
I wonder why some people think everything should be free. Our meal is not free, neither our car is, so...
by elwood
Thu Jan 04, 2024 12:08 am
Forum: Feature Requests and Wishlists
Topic: PureBasic Pro
Replies: 24
Views: 6712

Re: PureBasic Pro

I would pay 49 euros each year, the same price as Spiderbasic.
I wonder who would do the same. What about a poll?
by elwood
Thu Dec 28, 2023 9:30 am
Forum: Coding Questions
Topic: StatusBarProgress doesn't update the window unless an event occurs
Replies: 5
Views: 1137

Re: StatusBarProgress doesn't update the window unless an event occurs

Yes !!!
I kept looking at my code and doing some tests but without changing WaitWindowEvent.
You are right I don't have to wait as I handle some other cases where I should exit the main loop.

Thanks pjay.
by elwood
Thu Dec 28, 2023 12:18 am
Forum: Coding Questions
Topic: StatusBarProgress doesn't update the window unless an event occurs
Replies: 5
Views: 1137

StatusBarProgress doesn't update the window unless an event occurs

Hi brave coders,

I have a problem with the following code.
When I run it, the window with the progress bar opens but the bar is not refreshed (but the download runs correctly).
As soon as I click on the progress window, or just moving my mouse over it and the refresh starts.

What can be wrong? (I ...
by elwood
Fri Sep 08, 2023 5:43 pm
Forum: Feature Requests and Wishlists
Topic: For var in (string1, string, string3)
Replies: 8
Views: 1690

For var in (string1, string, string3)

Such feature would be great in PB:

For os in ("Windows", "Linux", "MacOS")
Debug "PB is available for " + $os
Next
by elwood
Fri Sep 08, 2023 5:39 pm
Forum: Feature Requests and Wishlists
Topic: ReceiveFTPFile with Append option
Replies: 2
Views: 874

Re: ReceiveFTPFile with Append option

Thanks infratec, I'll look into it.
Even if it would be more elegant in the core functions.
by elwood
Fri Sep 08, 2023 5:30 pm
Forum: AmigaOS
Topic: AmigaOS 3.2.2 released
Replies: 6
Views: 14904

Re: AmigaOS 3.2.2 released


And now we have 3.2.2 released? How does that versioning make sense?


3.5 and 3.9 were kept locked in the hands of their developers so development of the Classic AmigaOS had to start again from 3.1, hence the 3.1.4 and later.

If you look at mainstream, you'll notice that we never seen Windows 9 ...