Search found 323 matches

by Lost Zergling
Apr 03, 2020 21:25
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure (solved)

I would like to come back to the problem which presents, it seems to me, an interesting aspect. Starting from the principle of the desired presentation (presenting duplicate files), it appears that we have two distinct types of data: directories (unique keys) and files (multi-valued keys), or typica...
by Lost Zergling
Apr 02, 2020 16:50
Forum: Projects
Topic: LZLE List Engine with user friendly powerfull syntax - BETA 0.996b
Replies: 93
Views: 31783

Re: LZLE List Engine with user friendly powerfull syntax - BETA 0.994 -

Archive Beta 0.994 Part 3/3 Latest release is here https://www.freebasic.net/forum/viewtopic.php?f=8&t=26533 Property List.Destroy As Byte If bPVSmethod<>-1 Then : Print "PVS_Count=" & PVS_Count : End If '& " (the bigger, the most the optimization algo was used)" : E...
by Lost Zergling
Apr 02, 2020 16:50
Forum: Projects
Topic: LZLE List Engine with user friendly powerfull syntax - BETA 0.996b
Replies: 93
Views: 31783

Re: LZLE List Engine with user friendly powerfull syntax - BETA 0.994 -

Archive Beta 0.994 Part 2/3 '==========================================================================================TYPE LIST PUBLIC PROPERTIES - SORTING Property List.ColSort(i as Byte) As Byte : If i > MAX_COLS-1 then : this.uTag=MAX_COLS-1 : Return 0 : Else : this.uSortTag=i : Return 1 : End ...
by Lost Zergling
Apr 02, 2020 16:49
Forum: Projects
Topic: LZLE List Engine with user friendly powerfull syntax - BETA 0.996b
Replies: 93
Views: 31783

Re: LZLE List Engine with user friendly powerfull syntax - BETA 0.994 -

Archive Beta 0.994 Part 1/3 ' NOTICE : Thank you to remove first single quote on the line below once you accepted the licence. /' In case redistribution of SOURCES you may ensure to reactivate the acceptance of the license. This notice may be anywhere in source code till licensed user is aware it e...
by Lost Zergling
Mar 25, 2020 12:44
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure (solved)

@Dodicat : thank you. (ps: I do know pretty nothin' about asm, just reported a compile issue).
by Lost Zergling
Mar 25, 2020 10:20
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure (solved)

@Dodicat : This seems indeed the most logical choice, for those who are comfortable with a little more "intellectual" code. For my part, I continue to work on my small code library. 3 loops: one to fill in the values, one to browse it in a pseudo recursive way and one to browse through con...
by Lost Zergling
Mar 23, 2020 14:46
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure

@Badidea.I feel badly placed to take a look at your approach and that is not my goal. Without offense, it seems to me that the problem you are facing is somewhat of a nature comparable to that which I was faced with during the long-term design of LZLE: the memory management of a tree. Suppose that t...
by Lost Zergling
Mar 22, 2020 16:14
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure

Very nice.
by Lost Zergling
Mar 22, 2020 13:37
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure

Hi everybody. Thanks being here ! I got this output using lists itemD itemE itemI path1 path1/path2 path1/path2/itemA path1/path2/itemB path3 path3/itemC path3/itemH path3/path3 path3/path3/itemJ path3/path5 path3/path5/path7 path3/path5/path7/itemF path4 path4/path9 path4/path9/path7 path4/path9/pa...
by Lost Zergling
Mar 22, 2020 12:33
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure

Replace the following "L_tmp.HashTag(Str_tmp2)" (the first one outside the while wend, the second one represents tree parse double) with "If L_tmp.HashTag(Str_tmp2)=1 Then : Print "Double on : " & L_tmp.HashTag : End If" Erratum : Just insert this line : Str_tmp2=St...
by Lost Zergling
Mar 22, 2020 9:17
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure

@Badidea. While writing the code, I found a bug in lzle: the HashTag property is not always neutral on the parameter passed in reference, in general it is not visible. To work around this problem and not patch the version just for that, I had to use an intermediate variable (Str_tmp2).This will be c...
by Lost Zergling
Mar 21, 2020 22:20
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure

On first code, remove comment on 'MyList.hashtag("path1")… hashtag is loading a unique key into a tree, building that tree key by key. You should get something closer to what you are looking for. To de-linearize you just need to encapsulate hashtag into a loop so as to do a setting wich bu...
by Lost Zergling
Mar 21, 2020 15:39
Forum: General
Topic: Parse string to tree structure (solved)
Replies: 61
Views: 3342

Re: Parse string to tree structure

Suggest this one #Include once "F:\Basic\LZLE.bi" Dim MyList As List ' MyList.HashTag("path1") : MyList.HashTag("path1/path2") : MyList.HashTag("path3")'? MyList.HashTag("path1/path2/itemA") MyList.HashTag("path1/path2/itemB") MyList.HashTa...
by Lost Zergling
Mar 14, 2020 22:09
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 361
Views: 38732

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

@Sarg : thank you again for this work and open comments around it.
by Lost Zergling
Mar 14, 2020 13:35
Forum: Community Discussion
Topic: Dream of sugar
Replies: 12
Views: 878

Re: Dream of sugar

@oyster. As you are looking for a "ForEach" like feature, I suggest you have a look to lzle project on wich I may do some support and evolutions. About multi dimensional operators on arrays, lzae project (wip) is targeting instructions to help users designing their own routines between arr...

Go to advanced search