Hi PureBasic friends.
I have written a small program that shows a little calendar to the right of the rightmost screen. At work I need to convert dates to week numbers and reverse, so I made a very simple version of this calendar. This weekend I decided to develop it a bit further and added a ...
Search found 27 matches
- Sun May 08, 2022 4:11 pm
- Forum: Applications - Feedback and Discussion
- Topic: DesktopCalendar
- Replies: 0
- Views: 1140
- Sat Feb 06, 2021 10:59 am
- Forum: Applications - Feedback and Discussion
- Topic: WinAPI Library (1163 example codes)
- Replies: 57
- Views: 99533
Re: WinAPI Library (1.163)
Thanks for the update. I see I haven't updated since 2017...
not that I use it much but from time to time it comes in handy and it's interersting to browse.
So, thanks for your hard work!

not that I use it much but from time to time it comes in handy and it's interersting to browse.
So, thanks for your hard work!
- Sat Sep 09, 2017 8:29 am
- Forum: The PureBasic Editor
- Topic: PB 5.60 IDE colour phenomenon
- Replies: 2
- Views: 3377
Re: PB 5.60 IDE colour phenomenon
I took a little more time today with this and I have narrowed it down to only need the following code to show the discolouration:
;TODO ¤¤¤¤¤¤
;TODO fafafafa
Six special characters on the first TODO-line (not necessarily Swedish characters) and some text on the second TODO line. Must be two TODO ...
;TODO ¤¤¤¤¤¤
;TODO fafafafa
Six special characters on the first TODO-line (not necessarily Swedish characters) and some text on the second TODO line. Must be two TODO ...
- Thu Sep 07, 2017 5:54 pm
- Forum: The PureBasic Editor
- Topic: PB 5.60 IDE colour phenomenon
- Replies: 2
- Views: 3377
Re: PB 5.60 IDE colour phenomenon
I get the corruption like this. (I have gotten the corruption in other ways, but this seems more repetitive)
In prefs/general, tic "Auto-reload last open sources"
Load the source.
Close the IDE.
Open the IDE.
Corrupt colours.
In prefs/general, tic "Auto-reload last open sources"
Load the source.
Close the IDE.
Open the IDE.
Corrupt colours.
- Thu Sep 07, 2017 5:48 pm
- Forum: The PureBasic Editor
- Topic: PB 5.60 IDE colour phenomenon
- Replies: 2
- Views: 3377
PB 5.60 IDE colour phenomenon
Hi,
I'm a slow adopter of new versions of PB, but now I decided to update my 5.31 to 5.60 (Windows 7 Pro x64 - running x86 versions of PB).
When loading a source code I got weird colours on the text and after a while of experimenting I concluded that it's two commented lines that causes the ...
I'm a slow adopter of new versions of PB, but now I decided to update my 5.31 to 5.60 (Windows 7 Pro x64 - running x86 versions of PB).
When loading a source code I got weird colours on the text and after a while of experimenting I concluded that it's two commented lines that causes the ...
- Sun Mar 06, 2016 8:21 am
- Forum: Applications - Feedback and Discussion
- Topic: WinAPI Library (1163 example codes)
- Replies: 57
- Views: 99533
Re: WinAPI Library (1.077)
Great work with this tool.
I don't know how much I will use it but I want to express my satisfaction when I started using it and everything worked as I expected it to work. Nice integration in PB as a tool, nice layout, great update function. All good!
I don't know how much I will use it but I want to express my satisfaction when I started using it and everything worked as I expected it to work. Nice integration in PB as a tool, nice layout, great update function. All good!

- Thu May 14, 2015 5:26 am
- Forum: Announcement
- Topic: Support for Ascii compilation ends after the next LTS cycle
- Replies: 94
- Views: 111820
Re: Support for Ascii compilation ends after the next LTS cy
Great news that I havn't seen until now (not here much).
Ascii is an old, old fart and it's time for it to finally conform to modern techs.
Actually I don't understand why there should be a delay in dumping ascii just because some peps haven't used the since-ages-possibility to use unicode.
*If ...
Ascii is an old, old fart and it's time for it to finally conform to modern techs.
Actually I don't understand why there should be a delay in dumping ascii just because some peps haven't used the since-ages-possibility to use unicode.
*If ...
- Thu Jun 10, 2010 11:09 am
- Forum: AmigaOS
- Topic: after another title, now pleaz help on my 680x0 code pleaz^^
- Replies: 10
- Views: 24851
Re: ho to make a single exe from pure basic 4.00 with datas
@cas: OfCourse :lol: sorry for that.
@stefff: Look in the help-file: various topics/include functions - there it is described. Good luck!
edit1: ... but maybe thats not the case with the amiga version - havn't checked.
edit2: YES, it's there. Look in the file reference.guide and then various ...
@stefff: Look in the help-file: various topics/include functions - there it is described. Good luck!
edit1: ... but maybe thats not the case with the amiga version - havn't checked.
edit2: YES, it's there. Look in the file reference.guide and then various ...
- Thu Jun 10, 2010 9:49 am
- Forum: AmigaOS
- Topic: after another title, now pleaz help on my 680x0 code pleaz^^
- Replies: 10
- Views: 24851
Re: ho to make a single exe from pure basic 4.00 with datas
have u tried 'includefile'?
- Tue Jun 08, 2010 3:23 pm
- Forum: Coding Questions
- Topic: Serial Port
- Replies: 5
- Views: 1267
Re: Serial Port
I would handle the serial buffer size as the convenient time slices to take care of the incoming data. Perhaps every 50 ms or so, depending on what the rest of the program should do.
Each time slice a routine empties that buffer to some work buffer for the handling you mention.
So, no need to ...
Each time slice a routine empties that buffer to some work buffer for the handling you mention.
So, no need to ...
- Tue Mar 02, 2010 8:01 pm
- Forum: Coding Questions
- Topic: ProcedureReturn with Double only in 8 levels?
- Replies: 12
- Views: 3872
Re: ProcedureReturn with Double only in 8 levels?
@Trond: A-ha. Weird, I didn't find your post before. Must assign me a crash course in search management. 

- Tue Mar 02, 2010 6:37 pm
- Forum: Coding Questions
- Topic: ProcedureReturn with Double only in 8 levels?
- Replies: 12
- Views: 3872
Re: ProcedureReturn with Double only in 8 levels?
I follow what you are writing here and my few cents to the matter is:
What was the original thoughts behind this? It seems to me that doubles are handled like this because of a deliberate plan ...
... but, perhaps that the compiler should show at least a warning? If there were a warning, nobody ...
What was the original thoughts behind this? It seems to me that doubles are handled like this because of a deliberate plan ...
... but, perhaps that the compiler should show at least a warning? If there were a warning, nobody ...
- Sun Feb 28, 2010 11:48 am
- Forum: Coding Questions
- Topic: ProcedureReturn with Double only in 8 levels?
- Replies: 12
- Views: 3872
Re: ProcedureReturn with Double only in 8 levels?
@srod: Thanks for that explanation! That clears it up.
Lucky, I didn't report it as a bug then.
But I actually thought there *could* be some other unknown factor behind it.
Very nice!

Lucky, I didn't report it as a bug then.

Very nice!
- Sun Feb 28, 2010 11:17 am
- Forum: Coding Questions
- Topic: ProcedureReturn with Double only in 8 levels?
- Replies: 12
- Views: 3872
ProcedureReturn with Double only in 8 levels?
Hi!
I have found a curios problem with Procedures.
When using Longs i can recurs a number of levels, but with Doubles it stops at 8 calls. I can't figure out why. Anyone, else who can?
code with Long:
Define.l
Procedure.l fac_rec(n)
Debug n
If n > 1
ProcedureReturn n * fac_rec(n - 1)
EndIf ...
I have found a curios problem with Procedures.
When using Longs i can recurs a number of levels, but with Doubles it stops at 8 calls. I can't figure out why. Anyone, else who can?
code with Long:
Define.l
Procedure.l fac_rec(n)
Debug n
If n > 1
ProcedureReturn n * fac_rec(n - 1)
EndIf ...
- Mon Feb 15, 2010 12:29 pm
- Forum: General Discussion
- Topic: Big Thanks for PB4.41
- Replies: 2
- Views: 1635
Big Thanks for PB4.41
Hi!
I've been a member here for a few years, lurking in the shadows from time to time. :wink: I've been using PureBasic almost since it all began on the Amiga. I bought a license sometime around 2000, I think. 10 years with PureBasic, wow.
Well, I'm not programming very frequently with it (even ...
I've been a member here for a few years, lurking in the shadows from time to time. :wink: I've been using PureBasic almost since it all began on the Amiga. I bought a license sometime around 2000, I think. 10 years with PureBasic, wow.
Well, I'm not programming very frequently with it (even ...