Search found 2764 matches

by Tourist Trap
Oct 19, 2019 12:44
Forum: Beginners
Topic: Arithmetic overflow handling
Replies: 4
Views: 340

Re: Arithmetic overflow handling

I am currently maintaining source code written in Visual Basic 6. The author has written a checksum calculation routine which accounts for overflows. He does this by using a 32-bit variable to store the result of each 16-bit addition, and then subtracts 0x10000 from the 32-bit variable whenever the...
by Tourist Trap
Oct 19, 2019 12:31
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 113
Views: 4730

Re: FreeBASIC 1.08 Development

All those, who fear adding new features would bloat FB in an unacceptable way, should know, that the compiler is clever enough to add only what´s needed to an executable. In other words, more features doesn´t necessarily mean bigger executables or longer compile times. On the other hand every new f...
by Tourist Trap
Oct 19, 2019 12:08
Forum: General
Topic: YouTube increases FreeBASIC performance (solved)
Replies: 6
Views: 215

Re: YouTube increases FreeBASIC performance

This is normal. Default Windows settings are power saving. The increased demand on CPU causes the CPU to increase its frequency. The algorithms for that are complex and can't always be predicted easily. You can however indicate that you want a higher performance profile (e.g. for benchmarking). Go ...
by Tourist Trap
Oct 19, 2019 11:20
Forum: Community Discussion
Topic: [offtopic]What was at Jul 24, 2019 something special ?
Replies: 16
Views: 6953

Re: [offtopic]What was at Jul 24, 2019 something special ?

badidea wrote:At this rate, freeBASIC will be the most popular computer language soon.

FB is simple, powerfull, that's all that people need after all :)
(nice graphic)
by Tourist Trap
Oct 19, 2019 11:16
Forum: Game Dev
Topic: best sea shore sim ever
Replies: 3
Views: 7053

Re: best sea shore sim ever

chung wrote:i posted this video of "best sea shore sim ever" and it is in freebasic

=> https://www.youtube.com/watch?v=w-4jKUpNYwA

:)
That's very relaxing, thanks!
by Tourist Trap
Oct 19, 2019 11:09
Forum: Tips and Tricks
Topic: Quick run tool - Windows
Replies: 20
Views: 1829

Re: Quick run tool - Windows

Use this to run code previously written or copied code from the forum. Keep this file in it's own folder, there are three .txt files written. I see many users have a stash of fb compilers. Add some of your favourites and choose one from your list (An idea from member deltarho). Mainly quick compile...
by Tourist Trap
Sep 01, 2019 11:40
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 101
Views: 32704

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2

I'm having some personal issues, and I'm failing to find energy to wrap this up. I'm hoping I'll be able to do it in October. I think we'll only have prize one award, due the limited amount and state of entries submitted. I apologize for dropping the ball, but I just can't help it atm. Hi, Thanks f...
by Tourist Trap
Sep 01, 2019 11:30
Forum: General
Topic: wtite dxf files with FB
Replies: 10
Views: 4442

Re: wtite dxf files with FB

aloberoger wrote:What are you talking about? The link above is good.

The link may be good, the file, unfortunately not. At least here for me.
by Tourist Trap
Aug 30, 2019 18:28
Forum: General
Topic: wtite dxf files with FB
Replies: 10
Views: 4442

Re: wtite dxf files with FB

aloberoger wrote:I do not know what you mean, there is no conversion. it's about creating a dxf file. for the rest I'm waiting for the rendering. thank you

Whatever I was unable to download good content. The rar is not valid. 7.57 ko looks small anyway.
by Tourist Trap
Aug 27, 2019 17:53
Forum: General
Topic: wtite dxf files with FB
Replies: 10
Views: 4442

Re: wtite dxf files with FB

Hi ,

I'll give this a try. I wonder what you mean by write a dxf file, in general it would be "convert" a graphic file format to dxf. Whatever you meant, I'm greatly interested and will give some feedback.
by Tourist Trap
Aug 24, 2019 14:48
Forum: Windows
Topic: Simplest way to play a MP3 file on Windows
Replies: 1
Views: 4903

Re: Simplest way to play a MP3 file on Windows

If I want to play a MP3 file called myfile.mp3 , this is all the code needed. #include "Windows.bi" #Include Once "crt/string.bi" #include "win/mmsystem.bi" ?mciSendString("open myfile.mp3 type mpegvideo alias song1", NULL, 0, 0) ?mciSendString("play son...
by Tourist Trap
Aug 24, 2019 14:39
Forum: General
Topic: I want to upload my software for use by others
Replies: 4
Views: 3109

Re: I want to upload my software for use by others

johnemac wrote:can somebody please help me out?

Hello,

Unless your programs are short freebasic snippets, this forum won't provide you with any satisfying storage. For a life-long work repository, I would rather use internet archive.
https://archive.org/index.php
by Tourist Trap
May 25, 2019 13:24
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31477

Re: New array features

FB doesn´t allow for an array to be returned by a function, but you can pass an array to a function and modify it in this function. Having an array descriptor you could manipulate, doesn´t mean you could return an array! Yes, I thought a couple of minutes that you changed this facts. Appart sorting...
by Tourist Trap
May 25, 2019 8:45
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31477

Re: New array features

Ok, next try... array(sort, a, up, 1, 5) As usual, comments, critics, bug reports and ideas for possible improvements are welcome! Hi JK, I don't feel at ease at this point with this. Just in case you didn't already put this form away for any reasons, I would ideally return to this: array2 = array_...
by Tourist Trap
May 21, 2019 16:38
Forum: Documentation
Topic: Wiki improvements
Replies: 359
Views: 58027

Re: Wiki improvements

fxm wrote:Yes, more simple and more logic when using properties versus directly using their data fields, suppressing the useless operators and even some macros...
Big work for all this!

If it takes long it doesn't matter since it's better to have something rather than nothing at the end :)

Go to advanced search