Search found 536 matches

by grindstone
Oct 15, 2018 15:12
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

@MrSwiss: The complete sentence reads: Free for NON-comercial use! For comercial usage send me a mail -> FreeBasic[at]DeltaLabs.de or IRC and u get a free usage So it should be no problem to get the permission to use this library. It's Gablea's decision, but from my point of view it's the best solut...
by grindstone
Oct 15, 2018 11:58
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

The separate exe are add on modules to enhance the PoS program. So they're all clients? What about the server? Could you give me a short description of your intranet? Alas, libcurl is only a client library and not suitable for servers. But there's another library named TSNE_V3 , for both Windows an...
by grindstone
Oct 15, 2018 9:59
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

Gablea wrote:Would it allow the PoS to talk to a separate exe that is running in the background I.E.
I guess this .exe is your file server, isn't it?
by grindstone
Oct 13, 2018 13:43
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 300 $ 1st prize
Replies: 45
Views: 1353

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 250 $ 1st prize

I'm not sure what do you mean exactly, grindstone, but reskining an older finished or close to finished work will be heavily penalized during scoring. I am expecting people to be open about that, at minimum. Using old code and engines is allowed. What I mean is the flight operator simulation I'm wo...
by grindstone
Oct 13, 2018 13:06
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

The answer to all questions is "yes". The host part of the URL contains the address of the server that you want to connect to. This can be the fully qualified domain name of the server, the local network name of the machine on your network or the IP address of the server or machine represe...
by grindstone
Oct 13, 2018 11:18
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

Gablea wrote:still need to work out how I can talk to a IP/TCP Socket device from FreeBASIC
Have a look at libcurl. I use it and it works fine (at least for downloading playlists and mp3/4 - files). It shouldn't be too difficult to implement a peer-to-peer communication.
by grindstone
Oct 12, 2018 13:05
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 300 $ 1st prize
Replies: 45
Views: 1353

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 250 $ 1st prize

Is it allowed to put out something that already was presented in a preview version, or must it be something entirely new?
by grindstone
Oct 11, 2018 8:49
Forum: Game Dev
Topic: Rubik cube
Replies: 5
Views: 261

Re: Rubik cube

Great!

Alas, I never got along with this cube. <grin>
by grindstone
Oct 10, 2018 9:33
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

Is it is tab spaced does that mean if a field has a comer in it it would not crash the system when it read it in? Definitely no problem. Tab alias Chr(9) is the only delimiter, much easier and safer than that "crappy, old", "csv" format. I fully agree. In addition to it it's muc...
by grindstone
Oct 04, 2018 23:35
Forum: Beginners
Topic: Reading a text file into a string array
Replies: 14
Views: 315

Re: Reading a text file into a string array

@jj2007:
One remark: You can avoid connumerating the records by using "UBound(MyStrings)" instead of "records".
by grindstone
Oct 04, 2018 12:30
Forum: Beginners
Topic: Reading a text file into a string array
Replies: 14
Views: 315

Re: Reading a text file into a string array

Can anybody shed light into the mysteries of dynamic string arrays? Your code only needs a few changes: ReDim recstr(0) As String ' fixed size is no good! Function Recall(fname As String, recstr() As String) As Integer Dim As Integer ct=0 If Open(fname For Binary Access Read As #1) = 0 Then While N...
by grindstone
Sep 27, 2018 8:04
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

Have you got a example of how I would find a entry I. The database or would it be the same way as you find with a normal Random file? I don't exactly understand what you mean. But to find eg. "CRANBERRY LIGHT" simply scan the array: For x As Integer = 1 To UBound(product) With product(x) ...
by grindstone
Sep 27, 2018 6:49
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

how would I clear the array say if a file had been Updated (need to load the new file into memory) Simply run "init" again. ...as well as mutilsavers I guess you mean "mutisavers" = duplicated entries. This could be done, but not as easy as eg. "If product(1) = product(2)&q...
by grindstone
Sep 26, 2018 23:04
Forum: General
Topic: Where have I gone wrong
Replies: 126
Views: 2664

Re: Where have I gone wrong

With the "init"-Sub the whole data file is read from the hard drive and put into an array of appropriate Types (one array member for each record), and with the "saveArray"-Sub all records are restored to the hard drive as one file. The array of course is stored in the memory. Wha...

Go to advanced search