Search found 240 matches

by Lost Zergling
Jun 23, 2019 13:52
Forum: Projects
Topic: LZAE - New array extension - BETA 0.60 (functionnal) (Updated Mon 8 Jul, 2019)
Replies: 3
Views: 2411

Re: LZAE - New array extension - Draft - In progress

Doc & exemples - Part 2
(I book place because till I know I'm going on it, it will be more easy to manage with following posts in only one topic)
by Lost Zergling
Jun 23, 2019 13:49
Forum: Projects
Topic: LZAE - New array extension - BETA 0.60 (functionnal) (Updated Mon 8 Jul, 2019)
Replies: 3
Views: 2411

Re: LZAE - New array extension - Draft - In progress

Exemple 1 #Include once "C:\FB64\FreeBASIC-1.05.0-win64\FreeBASIC-1.05.0-win64\LZAE_0.60.bi" 'Dim aArray(50) As String 'Dim aArray(50) As uByte Dim aArray(50) As Integer Dim aext As ArrayExtension Dim as Integer i, t For i=0 to 50 'aArray(i)=Str(i) aArray(i)=50-i Next i aset( aArray() , a...
by Lost Zergling
Jun 23, 2019 13:48
Forum: Projects
Topic: LZAE - New array extension - BETA 0.60 (functionnal) (Updated Mon 8 Jul, 2019)
Replies: 3
Views: 2411

Re: LZAE - New array extension - Draft - In progress

LZAE 0.60 BETA PART 2 : '=================================================================================================================================================== 'ARRAY EXTENSION SETTING FUNCTIONS '==========================================================================================...
by Lost Zergling
Jun 20, 2019 15:31
Forum: Projects
Topic: LZAE - New array extension - BETA 0.60 (functionnal) (Updated Mon 8 Jul, 2019)
Replies: 3
Views: 2411

LZAE - New array extension - BETA 0.60 (functionnal) (Updated Mon 8 Jul, 2019)

Hello everybody ! This first functional version of LZAE brings the advantage of its integration with the list engine. The operating principles are simple if kept in mind: First, you have a linear parser on the array. You are browsing a dataset, which is characterized by four elements: the left curso...
by Lost Zergling
Jun 19, 2019 16:18
Forum: General
Topic: Bit strings ? ( "Bit string datatype" )
Replies: 7
Views: 611

Re: Bit strings ?

@ppf First Point : As mentionned in documentation, FB does not support Bit Ptr but Byte Ptr, this not being really a problem. Considering 99,99999999% use cases, working bit per bit wouldn't be faster than byte per byte. This because processors standards (in general) is to work Byte per byte or beyo...
by Lost Zergling
Jun 07, 2019 12:46
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 75
Views: 15631

Re: Extending Wstring and Zstring with UDTs

@Juergen. Also consider this : once coded a permutation by values to return to it will be pretty certainly like having to re-write everything (logic of implementation and in-memory kinematic will not have been thought same way, so there will probably be almost nothing reusable). In addition, functio...
by Lost Zergling
Jun 06, 2019 19:38
Forum: Tips and Tricks
Topic: Comparison between Properties & Functions overloading behaviour
Replies: 6
Views: 2567

Re: Comparison between Properties & Functions overloading behaviour

Ha, I NOW understand why only 8 #IF in macros ! Well I knew number of UDT's infinite possibilities or similar consequences ! The reason why I decided to scope my design to FB most common types. A programmer can overload an UDT as needed, this the reason why of a programing language. Shall we not for...
by Lost Zergling
Jun 06, 2019 17:02
Forum: Tips and Tricks
Topic: Comparison between Properties & Functions overloading behaviour
Replies: 6
Views: 2567

Re: Comparison between Properties & Functions overloading behaviour

fxm, Tell me if i'm wrong, but,.. The thread we had about the descriptor was really nonsense !!!?? Or what ? Write access needed ? Infinite number of dimension support ?!!? FBC 1.05 W32. Declare Function SET Overload (MyArray() as Integer ) As Integer Declare Function SET Overload (MyArray() as Stri...
by Lost Zergling
Jun 06, 2019 15:37
Forum: Tips and Tricks
Topic: Comparison between Properties & Functions overloading behaviour
Replies: 6
Views: 2567

Re: Comparison between Properties & Functions overloading behaviour

Hi fxm,
I had completely missed the point, because of the (pretty nicely permissive) syntax ! thank you
I got it. FUNCTION Overloading is fine even with variable length arrays !
By the way, I can use overloading to build functions that will help me simplify the syntax of the code.
by Lost Zergling
Jun 06, 2019 14:20
Forum: Tips and Tricks
Topic: Comparison between Properties & Functions overloading behaviour
Replies: 6
Views: 2567

Comparison between Properties & Functions overloading behaviour

Declare Function SUM Overload (A As Integer,B As Integer, MyArrElement as Integer ) As Integer Declare Function SUM Overload (A As Single,B As Single, MyArrElement as Single ) As Single Declare Function SUM Overload (A As Single,B As Single, MyArrElement as String ) As String Function SUM (A As Int...
by Lost Zergling
Jun 05, 2019 22:10
Forum: Tips and Tricks
Topic: Visual Sort
Replies: 11
Views: 3293

Re: Visual Sort

@denise_amiga Thank you for your response and your interest. I do not want to accept any code that could be covered by copyright, as this would be to integrate or enhance a completely personal library (https://www.freebasic.net/forum/viewtopic.php?f=8&t=26533) dedicated to FB (free use under FB)...
by Lost Zergling
Jun 05, 2019 15:45
Forum: Tips and Tricks
Topic: Visual Sort
Replies: 11
Views: 3293

Re: Visual Sort

This is just very nice for short testing & understanding ! On my laptop : Bubble1=>16s, Bubble2=>18s, Select =>17s, Insert =>16s, Shell=> 33 s, Merge=>18s, Quick=> 54 s I add a sub in your code and I did a test just loading string in a sorted index leaving original array unchanged MyList.HashTag...
by Lost Zergling
Jun 05, 2019 9:35
Forum: Beginners
Topic: Speed of pointers ?
Replies: 9
Views: 3319

Re: Speed of pointers ?

Concretely, and to summarize the situation: there is no generic way to access the first element of a table without having to know in advance the number of dimensions. The syntax does not allow it and the syntax control prevents users from doing this. All the useful information is accessible in the &...
by Lost Zergling
Jun 03, 2019 16:18
Forum: Beginners
Topic: How to get and use a dictionary
Replies: 14
Views: 4007

Re: How to get and use a dictionary

I indexed each of the words
You're welcome have a look to LZLE (if you didn't yet). Perhaps you will like it, perhaps not.
by Lost Zergling
Jun 01, 2019 23:02
Forum: Beginners
Topic: Speed of pointers ?
Replies: 9
Views: 3319

Re: Speed of pointers ?

The parser is intended for the user to be able to write his code or his own functions, and identically to the internal functions. In the logic of the tool, the parser has the highest level of priority because the whole tool will be built around it. The parser that seems the fastest is the increment ...

Go to advanced search