Search found 552 matches
#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...
- Feb 17, 2017 9:41
- Forum: Tips and Tricks
- Topic: On FreeBASIC's random number generators.
- Replies: 35
- Views: 3681
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 ...
- Aug 30, 2016 12:01
- Forum: General
- Topic: Need help with implementation of variant-array
- Replies: 32
- Views: 1837
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...
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...
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...
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...
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 = ...
- Feb 21, 2016 11:36
- Forum: Tips and Tricks
- Topic: SQLite3 database class (32-bit)
- Replies: 51
- Views: 5227
- Dec 05, 2015 11:46
- Forum: Projects
- Topic: wxFBE, editor for both Windows and Linux
- Replies: 261
- Views: 51729
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...
@ 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...