Search found 688 matches

by grindstone
May 20, 2015 13:07
Forum: Hardware Interfaces / Communication
Topic: Simplest, multiplatform way to do network communication?
Replies: 4
Views: 1816

Re: Simplest, multiplatform way to do network communication?

Hi,

maybe try TSNE. It's probably a bit oversized for your purposes, but it will surely match your needs.

Greetings
grindstone

PS: If you need help with translation, let me know.
by grindstone
May 17, 2015 23:05
Forum: Beginners
Topic: Using databases mysql/sqllite
Replies: 5
Views: 837

Re: Using databases mysql/sqllite

The files are surely included in FB 1.02.0. Download it and copy the missing files to your actual FB \inc\mysql\ - folder.
by grindstone
May 17, 2015 8:09
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 16588

Re: Dim Byref syntax

Thanks, I think I've got it now. But that means (if I understood it right), there can only be Dim'd a reference to a variable that already exists. In this case it's needless to mention the type, for it's already defined. I suggest the syntax should be similar to the 'SizeOf' statement, something lik...
by grindstone
May 16, 2015 23:58
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 16588

Re: Dim Byref syntax

Yes, I see, the effect is that i and ri will always return the same value, no matter which of them you change. It surely works fine, but I can't see any practical benefit. In the bottom line it only means that the same variable can be accessed by two (or more) different names.
by grindstone
May 16, 2015 21:03
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 16588

Re: Dim Byref syntax

Hello,

I don't understand which effect this should have. Would

Code: Select all

dim i as integer
dim byref ri as integer = i  '' ri is an "alias" for i

be the same as

Code: Select all

dim i as integer
dim ri as integer ptr = @i
?

Greetings
grindstone
by grindstone
May 16, 2015 10:24
Forum: Beginners
Topic: Can I change default initial values?
Replies: 12
Views: 1256

Re: Can I change default initial values?

In my opinion such a feature would cause more problems than it solves. But if you really want to utilize it, you could write a code manipulator which scans the source code for DIM - statements and modyfies them by inserting an initial value of your choice to every variable. Maybe you could even pipe...
by grindstone
May 12, 2015 13:19
Forum: General
Topic: FFMPEG
Replies: 7
Views: 1182

Re: FFMPEG

I've tested your code, and it works fine. The buffer size error occurs when closing the pipe. It's only a disfigurement and doesn't affect the function of the program.

Greetings
grindstone
by grindstone
May 12, 2015 9:55
Forum: General
Topic: FFMPEG
Replies: 7
Views: 1182

Re: FFMPEG

Hello AWPStar,

AFAIK you have to state either "Read" or "Write" if you open a pipe as "Binary", because FB doesn't support bidirectional pipes yet.

Greetings
grindstone
by grindstone
May 09, 2015 11:59
Forum: Community Discussion
Topic: Where is FB now?
Replies: 6
Views: 1299

Re: Where is FB now?

The arguments for and against FreeBasic could fill a book, but I think its main advantage is that it's similary suitable for beginners and for experts. When you get first in touch with FB, it will last not longer than 10 minutes to get a "Hello world" message on the screen, and, on conditi...
by grindstone
May 09, 2015 10:27
Forum: General
Topic: FFMPEG
Replies: 7
Views: 1182

Re: FFMPEG

Hello AWPStar

Thank you for that hint. I'm looking for such an option since a long time. It has to be adapted to FB, but in principle it seems to work.

Greetings
grindstone
by grindstone
May 07, 2015 8:37
Forum: Projects
Topic: Winamp General Purpose Plugin Base
Replies: 2
Views: 948

Re: Winamp General Purpose Plugin

Hello Roland! Yes, I thought it was high time for me to finally join the international FreeBasic community. I guess, studying this code is a good way to understand the principle of operation of callback routines and the information interchange between a plugin and the main program. AFAIK every plugi...
by grindstone
May 06, 2015 12:54
Forum: Projects
Topic: Winamp General Purpose Plugin Base
Replies: 2
Views: 948

Winamp General Purpose Plugin Base

Although already 2 years old, the current position in the google list suggests to me that it could be still a thing of some interest, not only for german - speaking users. So I added an english version of it to the code sample.

Hope you enjoy it.

Greetings
grindstone

Go to advanced search