Search found 1845 matches
- Mon May 05, 2025 1:42 am
- Forum: Coding Questions
- Topic: Enumerate the addresses of all labels in the DataSection
- Replies: 10
- Views: 998
Re: Enumerate the addresses of all labels in the DataSection
You can make a macro to implement zx80's code to unify individual items. It also helps so you don't have to remember to update all places at once... I can't send a sample, but I'm sure you can find one with a search.
- Mon Apr 07, 2025 9:09 pm
- Forum: Coding Questions
- Topic: x86 vs x64
- Replies: 18
- Views: 1138
Re: x86 vs x64
I ran a test on it when the 64 bit first came out, I think, and was very surprised at the small performance boost. It was only in the 10-20 percent range; barely noticeable. In that particular test, IIRC, the increased memory hit was similar.
I know this is very vague, but just to say... your ...
I know this is very vague, but just to say... your ...
- Mon Feb 24, 2025 11:32 pm
- Forum: Game Programming
- Topic: Engine Source/Tools & Source
- Replies: 9
- Views: 8087
Re: Engine Source/Tools & Source
This is very generous of you. I tried the link and it said You do not have access. Is there something I am missing? Perhaps coffee fee now?darius676 wrote: Wed May 29, 2024 4:22 pm https://mark-dowen.itch.io/tutorialsour ... hot-engine
Full source and asset pack, for free
- Fri Oct 11, 2024 2:24 pm
- Forum: Off Topic
- Topic: What's your favorite computer game of all time?
- Replies: 50
- Views: 11232
Re: What's your favorite computer game of all time?
Donkey Kong (original arcade version)
Defender (arcade)
Castle Wolfenstein
Sea dragon
I did like Doom a lot, but i was pretty much done with games by then. After cars & girls, games were pretty minimal.
Defender (arcade)
Castle Wolfenstein
Sea dragon
I did like Doom a lot, but i was pretty much done with games by then. After cars & girls, games were pretty minimal.
- Fri Aug 02, 2024 6:29 pm
- Forum: Coding Questions
- Topic: Scintilla: auto-indent: how to?
- Replies: 12
- Views: 3560
Re: Scintilla: auto-indent: how to?
Where is the latest gosci lib/module?
I found a module from 2019.
That module is probably the latest. I have not been using it lately, so I have not updated it myself. With srod being inactive since 2020, he has not been updating it. However, in 2017, he posted:
current version of GoScintilla ...
- Wed Jul 31, 2024 5:13 am
- Forum: Coding Questions
- Topic: Scintilla: auto-indent: how to?
- Replies: 12
- Views: 3560
Re: Scintilla: auto-indent: how to?
gosci is a full featured customizable lexer that supports almost everything.Does GoScintilla support syntax highlighting?
- Mon Jul 29, 2024 3:17 pm
- Forum: Coding Questions
- Topic: Scintilla: auto-indent: how to?
- Replies: 12
- Views: 3560
Re: Scintilla: auto-indent: how to?
Hello:
I'm searching for auto-indent feature for Scintilla, with no luck.
did someone developed that and like to share?
Thanks in advance
Look for GoScintilla on the forum. It's a full featured library that takes care of almost all of the regularly used features of an IDE, including this. At ...
- Thu Jul 25, 2024 5:31 pm
- Forum: General Discussion
- Topic: Make money with PureBasic, What is The Road for NewBies ?
- Replies: 24
- Views: 7470
Re: Make money with PureBasic, What is The Road for NewBies ?
To make money, it is more important to be able to meet a need (i.e. come up with a good idea) than it is to be a great coder. Also, being resonably good at marketing is more important.
Of course, I am not talking about leaving it bug ridden or not working. I am talking about a decent coder who can ...
Of course, I am not talking about leaving it bug ridden or not working. I am talking about a decent coder who can ...
- Fri Jun 28, 2024 12:27 am
- Forum: Feature Requests and Wishlists
- Topic: Move a line in the source code...
- Replies: 12
- Views: 4180
Re: Move a line in the source code...
We can do that in the PureBasic IDE, using [Ctrl]+[Shift]+[↑] and [Ctrl]+[Shift]+[↓] (tested with PB 6.04 LTS on Windows).
Amazing.. :shock:
i don't know this function since several decade i use the IDE :oops:
Thanks for the TIP :wink:
Check out the scintilla documentation (on their site ...
- Thu Jun 13, 2024 4:02 pm
- Forum: Feature Requests and Wishlists
- Topic: MIT license for all published code out of the forum
- Replies: 34
- Views: 8754
Re: MIT license for all published code out of the forum
How about a pop-up for license selection when the Code button is pressed in an editor?
I'm in favor of "every code posted after this date xx/xx/2024 is xx license unless otherwise stated."
That simplifies a lot of things. You can update the "conditions of use" that everybody is required to accept ...
I'm in favor of "every code posted after this date xx/xx/2024 is xx license unless otherwise stated."
That simplifies a lot of things. You can update the "conditions of use" that everybody is required to accept ...
- Sat May 18, 2024 5:56 pm
- Forum: Coding Questions
- Topic: [Done] Problem with lenght size and PeekS
- Replies: 13
- Views: 2908
Re: Problem with lenght size and PeekS
"length" in bytes, but UTF-8 can be multi byte? (Unless it's all ascii) That could give you an overflow.
Try checking the string length with this
https://www.purebasic.com/documentation ... ength.html
Try checking the string length with this
https://www.purebasic.com/documentation ... ength.html
- Wed Apr 03, 2024 10:02 pm
- Forum: Coding Questions
- Topic: Beginner searching for his learning path
- Replies: 16
- Views: 3358
Re: Beginner searching for his learning path
Tranquil gave some good advice. Start small to learn how to code and how to PB. Then add complexity. For instance, just start with guessing a number from 1-10. Then let them guess until they get it, and count the number of guesses it takes. Then add the feature of telling the guesser if he is high ...
- Sat Mar 16, 2024 3:06 pm
- Forum: Tricks 'n' Tips
- Topic: SplitString to list or array with option double-quotes (CSV)
- Replies: 19
- Views: 8174
Re: SplitString to list or array with option double-quotes (CSV)
I get it, no worries and sorry for the inconvenience, i don't want to spam your thread. I don't understand in a first reading why you use (Just get it, to get around the PB syntax):
text.s = "0;1x;2xx;'Text with separator (;)';4xxxx;5xxxxx;'Text with linefeed " + #LF$ + "and separator (;)';End ...
- Thu Mar 07, 2024 4:32 pm
- Forum: Coding Questions
- Topic: Can a structure be defined dynamically by csv headers
- Replies: 24
- Views: 3140
Re: Can a structure be defined dynamically by csv headers
My mind is a bit blown by how much code has to be written in PureBasic to do this
That is because those languages have CSV support in their respective standard libraries where PureBasic has not.
I agree... CSV support would be nice.
Keep in mind that there are many libraries native to pb that ...
That is because those languages have CSV support in their respective standard libraries where PureBasic has not.
I agree... CSV support would be nice.
Keep in mind that there are many libraries native to pb that ...
- Thu Feb 22, 2024 7:41 pm
- Forum: Coding Questions
- Topic: Easier way to pass parameters by reference, as in C ?
- Replies: 6
- Views: 1108
Re: Easier way to pass parameters by reference, as in C ?
(I think) that method with a string is used because a string is already a pointer, and when you call a proc with a string argument, by default it copies the string prior to sending. That is a workaround specific to strings to send the string address.