Somebody has been watching too much 'The problem of the three bodies' as of lately, no?
(Not that I blame you, it's amazing)
This is a fascinating problem, indeed. Very nice.
Search found 1573 matches
- May 03, 2024 14:46
- Forum: Sources, Examples, Tips and Tricks
- Topic: Symmetrical n-body problem
- Replies: 3
- Views: 171
- May 03, 2024 6:53
- Forum: Beginners
- Topic: Program Exits With Array Problem
- Replies: 3
- Views: 197
Re: Program Exits With Array Problem
Most likely an array out of bounds error, yes. If I'm willing to bet, this line:
Probably doesn't work as you'd expect (unless E3 and LB1 are constants)
Code: Select all
DIM SHARED AS LONGINT YAxis2(1 TO E3+LB1)
- Apr 26, 2024 23:28
- Forum: Community Discussion
- Topic: Deleting .exe file when compiling.
- Replies: 5
- Views: 247
Re: Deleting .exe file when compiling.
Indeed, most likely an AV issue. Might be worth tell the AV to make an exception of the folder where the executable created during a 'Quick run' is located.
- Apr 23, 2024 3:42
- Forum: Beginners
- Topic: Count character
- Replies: 10
- Views: 468
- Apr 23, 2024 3:39
- Forum: Beginners
- Topic: Dog pattern + gradient
- Replies: 4
- Views: 300
Re: Dog pattern + gradient
Generally speaking, to center something, you'd use: p = ( w - l ) / 2 Where: p = the resulting centered coordinate w = the extent where you want to center (in your example, this would be the screen width, in chars) l = the length you want to center (in your example, this would be the length of the s...
- Apr 16, 2024 23:30
- Forum: Beginners
- Topic: Simple class example
- Replies: 2
- Views: 947
Re: Simple class example
FreeBasic supports many neat constructs when you deal with objects, such as constructors, destructors and also properties, and they can all be assigned access rights as well: type Employee public: declare constructor() declare constructor( as string, as string, as integer ) declare destructor() '' G...
- Apr 12, 2024 11:35
- Forum: General
- Topic: Property Definition does not allow STATIC
- Replies: 6
- Views: 505
Re: Property Definition does not allow STATIC
@wallyg: Do you need to perform some validation of the data in the property? Because if not, then just a static variable suffices...
- Apr 03, 2024 21:06
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 270
- Views: 25788
Re: Freebasic 1.20.0 Development
At this point why don't you just audit the language for all the crap, broken and obtuse things, gut them, and rebuild them however you like with no regards for what went before (or leave them out altogether) and call it FreeBasic 2.0. Second the motion here. Naturally, it's a lot of work for one pe...
- Mar 01, 2024 21:00
- Forum: General
- Topic: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
- Replies: 10
- Views: 1365
Re: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
For the last time, I know all this. But I have a hard time figuring out a useful use case for this. Operators be operators; we use them in expressions , we don't pass them as arguments to functions. The only language I can think of that has this feature is Forth, and that only because of its archite...
- Mar 01, 2024 12:16
- Forum: General
- Topic: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
- Replies: 10
- Views: 1365
Re: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
I know that. I guess I'll have to sit down and think a useful use case for the feature...
- Mar 01, 2024 11:15
- Forum: General
- Topic: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
- Replies: 10
- Views: 1365
Re: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
What would be a valid use case for this? Either I'm missing something, or I don't see the point of it...
- Dec 14, 2023 22:53
- Forum: General
- Topic: slow to execute after compiling source code
- Replies: 11
- Views: 1199
Re: slow to execute after compiling source code
You can add a one-time exclusion of virus scans for the 'FBIDETEMP.exe' file only. I tried this a while back. Turns out it doesn't work, since the file gets deleted after the execution ends. And so the brand new FBIDETEMP.exe is considered a new file and gets scanned anyway :roll: For my PC, it wor...
- Nov 14, 2023 17:03
- Forum: General
- Topic: slow to execute after compiling source code
- Replies: 11
- Views: 1199
Re: slow to execute after compiling source code
Turning off real time protection fixed the issue!! However that apparently means leaving it vulnerable to malware. Also it says after a short time it will turn it back on automatically. My indeed. It just shows you why it happens. You shouldn't disable the AV, but you could get the folder of the ex...
- Nov 14, 2023 0:59
- Forum: General
- Topic: slow to execute after compiling source code
- Replies: 11
- Views: 1199
Re: slow to execute after compiling source code
Indeed, real-time protection could cause issues with that kind of code. You might try disabling the AV and then run the code again to see if this solves the issue.
- Nov 07, 2023 23:11
- Forum: Projects
- Topic: simple compressor LZg9
- Replies: 11
- Views: 2691
Re: simple compressor LZg9
No need. Just open a new thread if you want to discuss a different approach