Search found 553 matches

by MOD
Sep 05, 2019 10:53
Forum: Community Discussion
Topic: Questions about wxFBE editor
Replies: 1
Views: 2553

Re: Questions about wxFBE editor

All I can tell you now is to check the sources. Within the plugins folder, you will find some examples of how to develop a plugin for wxFBE. Using the plugin system (which is based on https://freebasic.net/forum/viewtopic.php?f=8&t=21217), you can get access to the scintilla editor (getSTCPtr wi...
by MOD
Dec 01, 2018 23:37
Forum: General
Topic: Dynamic list of lists
Replies: 14
Views: 2683

Re: Dynamic list of lists

As you can see, it's for all types as it's not only containing Strings but itself. Check the examples.
by MOD
Nov 29, 2018 12:50
Forum: General
Topic: Dynamic list of lists
Replies: 14
Views: 2683

Re: Dynamic list of lists

#Include Once "md/util/mdList.bi" mdListDeclare(String) mdListDeclare(mdListString) Dim As mdList(String) strings1 strings1.add("1") strings1.add("2") strings1.add("3") Dim As mdList(String) strings2 strings2.add("4") strings2.add("5") str...
by MOD
Feb 17, 2017 9:41
Forum: Sources, Examples, Tips and Tricks
Topic: On FreeBASIC's random number generators.
Replies: 35
Views: 9095

Re: On FreeBASIC's random number generators.

I'll try to explain algo 5, but it's quite some years ago, so it might be not 100% correct: Algo 5 was introduced to get a "better" random number. Basically, it uses the default algo 3 Mersenne Twister but uses CryptApi or /dev/urandom as additional initial value. Both APIs are a bit slow ...
by MOD
Aug 30, 2016 12:01
Forum: General
Topic: Need help with implementation of variant-array
Replies: 32
Views: 4555

Re: Need help with implementation of variant-array

The reason my Variant works this way is, that at the time I wrote it, there was no Extends keyword and everything related to it. Furthermore you cannot overload the Select Case statement for your own datatypes, it always demands a FB primitive datatype and doesn't trigger the overloaded Cast As &quo...
by MOD
Apr 15, 2016 18:04
Forum: Beginners
Topic: GUI for Linux?
Replies: 21
Views: 7165

Re: GUI for Linux?

Well, I'm using it too on my PC and notebook. It's my main IDE, even though I'm still Π$/- I've never added the function browser.^^ It runs very well on Win7+8(.1)+10. But as I don't use any productive Linux (except for servers without any GUI) I cannot tell, if it still works well. Maybe St_W can a...
by MOD
Apr 15, 2016 16:05
Forum: Beginners
Topic: GUI for Linux?
Replies: 21
Views: 7165

Re: GUI for Linux?

That's true, wxFBE is an IDE with an integrated GUI designer, which works on Windows and Linux. However, the Linux builds are pretty old, I didn't get many people to test it, so it might not (but is supposed to) build anymore (and it was never really easy to build it on Linux because of all the depe...
by MOD
Mar 18, 2016 14:16
Forum: Community Discussion
Topic: python list in fb ?
Replies: 16
Views: 3504

Re: python list in fb ?

There's an old project of mine: Variant This allows you to store strings, integers and doubles in one datatype (you have to remove the ucase and lcase overloads from the Variant.bi as FB changed these recently). In combination with mdTypes you can achieve what you want: #Include Once "Variant.b...
by MOD
Feb 23, 2016 19:21
Forum: Sources, Examples, Tips and Tricks
Topic: The Ultimate FB HashMap
Replies: 10
Views: 5144

Re: The Ultimate FB HashMap

mdTypes also provides some Map classes . Simple example code: #Include Once "md/util/mdMap.bi" mdMapDeclare(String, String) Dim As mdMap(String, String) map Dim As String temp temp = map.put("key1", "value1") temp = map.put("key2", "value2") temp = ...
by MOD
Feb 23, 2016 19:19
Forum: Sources, Examples, Tips and Tricks
Topic: SQLite3 database class (32-bit)
Replies: 51
Views: 13085

Re: SQLite3 database class (32-bit)

The download contains a lot of examples and test codes and the linked tutorial is hosted by a german site but is written completely in english.
by MOD
Feb 21, 2016 11:36
Forum: Sources, Examples, Tips and Tricks
Topic: SQLite3 database class (32-bit)
Replies: 51
Views: 13085

Re: SQLite3 database class (32-bit)

mdTypes also offers a feature like that, and also uses the same interfaces for MySQL and a simple file based data format: mdTypes persistence api tutorial
by MOD
Jan 16, 2016 11:51
Forum: Linux
Topic: Need to ask a question
Replies: 5
Views: 2076

Re: Need to ask a question

There's wxFBE which comes with windows/linux support and also an GUI designer. Just have a look at it, but to be honest, currently I'm not working at it as not many people are using it.
by MOD
Dec 05, 2015 11:46
Forum: Projects
Topic: wxFBE, editor for both Windows and Linux
Replies: 265
Views: 90980

Re: wxFBE, editor for both Windows and Linux

There's no fold/unfold all functionality so far. I did some tests but it seems to be a bit buggy in the used wxStyledTextCtrl version. You can fetch the source using TortoiseSVN for example. The revision download button and the whole changelog don't work anymore at freebasic-portal, as all the proje...
by MOD
Oct 23, 2015 17:02
Forum: General
Topic: vector<T> try
Replies: 7
Views: 1885

Re: vector<T> try

@ mod : - where can i find the mdtype.bi's 1. Follow the link above to the project page in this forum 2. Klick on the link below the example code which tells you ">>DOWNLOAD<<" 3. Open the zip file and have a look at the ReadMe file, which tells you, that everything you need is included i...
by MOD
Oct 22, 2015 18:46
Forum: General
Topic: vector<T> try
Replies: 7
Views: 1885

Re: vector<T> try

Have a look at mdTypes, it allows you to use templated classes like lists, set and maps.