Search found 323 matches

by Lost Zergling
Jun 18, 2020 10:14
Forum: Beginners
Topic: Any suggestions on the best way to set up a linked list?
Replies: 24
Views: 1326

Re: Any suggestions on the best way to set up a linked list?

I m not sure this can be of some help, anyway.. Consider using a linked list as an "entry point" rather than as a "service" called by an object instance. So far, I would use my lzle library to store variable len strings and associate to keys, and then to go from string to array t...
by Lost Zergling
Jun 14, 2020 21:09
Forum: Tips and Tricks
Topic: Stack (LIFO) v2 implementation using double linked lists
Replies: 10
Views: 559

Re: Stack (LIFA) v2 implementation using doubly linked lists

Hello. Is it LIFO ? (Or what does LIFA mean ?)
(using lzle I can handle FIFO and does not manage LIFO, but it could be implemented modifying/creating "HoldBack" to "HoldBackRev" to link backward instead forward.
by Lost Zergling
May 27, 2020 20:27
Forum: Community Discussion
Topic: 15 years of freeBASIC forum?
Replies: 7
Views: 497

Re: 15 years of freeBASIC forum?

Hi !Reminds me on my first post on the forum
viewtopic.php?f=8&t=19383&p=170465#p170465
:-)
by Lost Zergling
May 24, 2020 22:17
Forum: Community Discussion
Topic: Why did you choose FreeBASIC?
Replies: 37
Views: 2756

Re: Why did you choose FreeBASIC?

A little over a year ago, I had to suffer from some health problems. It was serious and I passed close not to come back. I had to stay away from the forum for a few months. Today I am doing well. I hope you keep hope and be able to code again.
by Lost Zergling
May 23, 2020 9:00
Forum: Tips and Tricks
Topic: Import a jaggered CSV file and save data to a common comma delimeted csv format
Replies: 20
Views: 1244

Re: Import a jaggered CSV file and save data to a common comma delimeted csv format

From the moment you are in the option to store in memory (in a structured way) the entire file, you could consider using lists in addition to the arrays. The weak point of using only arrays (fixed length) is that you have to read the file twice (a first time to know the maximum number of columns), e...
by Lost Zergling
May 18, 2020 21:36
Forum: Beginners
Topic: A$="123,45,1,89,22" how do I get column 4, which is 89?
Replies: 10
Views: 821

Re: A$="123,45,1,89,22" how do I get column 4, which is 89?

Finally, here is my latest version of StrToArray (#Lang FB), I added support for Chr (0). It is interesting to compete with the integrated functions of the language and I can trust Dodicat to use them at best. Function StrToArray(STR_LigneFichier As String, MyStrArray() As String, sep As String=&quo...
by Lost Zergling
May 17, 2020 23:12
Forum: Beginners
Topic: A$="123,45,1,89,22" how do I get column 4, which is 89?
Replies: 10
Views: 821

Re: A$="123,45,1,89,22" how do I get column 4, which is 89?

Previous StrToArray bugged, new one : Declare Function StrUbound(STR_LigneFichier As String, STR_Motif As String=";") As Integer Function StrUbound(STR_LigneFichier As String, STR_Motif As String=";") As Integer Dim As Integer t,k, Posi t=0 : k=1 : posi=1 While k<>0 : k=Instr(Pos...
by Lost Zergling
May 16, 2020 7:46
Forum: Beginners
Topic: A$="123,45,1,89,22" how do I get column 4, which is 89?
Replies: 10
Views: 821

Re: A$="123,45,1,89,22" how do I get column 4, which is 89?

Hello Mr Swiss. Nice to see you. :-)
by Lost Zergling
May 15, 2020 21:54
Forum: Beginners
Topic: A$="123,45,1,89,22" how do I get column 4, which is 89?
Replies: 10
Views: 821

Re: A$="123,45,1,89,22" how do I get column 4, which is 89?

Using #Lang FB ' this is part of my: String_Procs.bi -- (c) 2019, MrSwiss #Include "crt/string.bi" ' needed for: SplitString() '# Lang "qb" Private Function SplitString( _ ' uses CRT's strtok() Function ByRef ssrc As Const String, _ ' string to be searched ByRef chrs As Const Str...
by Lost Zergling
May 12, 2020 22:44
Forum: General
Topic: VB6 Project TO Freebasic/how to Parse VB6 functions into JSON objects?
Replies: 9
Views: 586

Re: VB6 Project TO Freebasic/how to Parse VB6 functions into JSON objects?

When once use a language, once use methods (in the methodology sense). These methods will structure the developer's thinking and allow him to achieve a goal which is the design of his application. But this implementation, these methods themselves are for most of them protected, and they also constit...
by Lost Zergling
May 11, 2020 22:28
Forum: General
Topic: VB6 Project TO Freebasic/how to Parse VB6 functions into JSON objects?
Replies: 9
Views: 586

Re: VB6 Project TO Freebasic/how to Parse VB6 functions into JSON objects?

Doing this in a fully automated way seems very difficult to achieve because the developer will have used his expertise of the VB object model in the coding and design of his application.
by Lost Zergling
May 05, 2020 21:11
Forum: Projects
Topic: New IDE:vfb(Visual Freebasic)Like vb6,vb7(Update 2020-04-30)
Replies: 59
Views: 3574

Re: New IDE:vfb(Visual Freebasic)Like vb6,vb7(Update 2020-04-30)

@xiaoyao. I think you are right on a lot of points and also that Paul Squire is very sassy. It also seems to me quite obvious that the people of Redmond have salsify in the brain. But I must say you hit me a little on one point (the language of Shakespeare being quite deplorable, I would have liked ...
by Lost Zergling
May 04, 2020 10:15
Forum: Community Discussion
Topic: Why did you choose FreeBASIC?
Replies: 37
Views: 2756

Re: Why did you choose FreeBASIC?

I was looking for something wich was same time free and basic. I am pretty sure that it is of course because I did use the keyword "hashtag" in lzle that Facebook then took revenge by creating "FreeBasics". I apologize for the inconvenience.
by Lost Zergling
May 02, 2020 20:58
Forum: Community Discussion
Topic: fbfrog is unmaintained, so what is the current supported tool to translate C header?
Replies: 8
Views: 516

Re: fbfrog is unmaintained, so what is the current supported tool to translate C header?

Hello systemclt ! (me again) I may surprise you, but I was waiting for this post, really. It was totally in logical continuity. I had noted in a corner the importance of the limitations of fbfrog. Back on track : I don't want to be the bad guy here but I'm afraid I have to agree with marcov. Most of...

Go to advanced search