Search found 63 matches

by Godzilla
Wednesday 30th January 2019 6:59am
Forum: General
Topic: SQLite help
Replies: 9
Views: 11810

Re: SQLite help

I have looked at Databases before and I found them to be a bit complicated. I use CSV files to store data I want to use. Have a look at the attached program and see if this is simpler for you to use. NoDB_DB.tar.gz Hi cogier thank you for your reply. What I've been using up to this point is almost ...
by Godzilla
Monday 28th January 2019 4:06am
Forum: General
Topic: SQLite help
Replies: 9
Views: 11810

SQLite help

I've been aware that Gambas has SQLite functionality. But its something I've always shied away from because I don't know SQL and I don't understand it. But lately I've set my mind to learning it at least enough to use it, because I really need it for my coding. I've been hardcore researching, and tr...
by Godzilla
Saturday 5th January 2019 8:31am
Forum: General
Topic: [Solved] Possible bug in Instr or gb.IgnoreCase in Gambas 3.12.0
Replies: 13
Views: 17606

Re: Try replacing InStr with String.InStr if code is suddenly acting strange

cogier thank you for bringing this to Benoît Minisini's attention. I'm glad he's on it, and happy to hear that the fix is already coded and will be in the upcoming release. String.InStr will suffice for everyone who upgraded to in 3.12.0, for code that must be relied on until then. I'll see if I can...
by Godzilla
Thursday 3rd January 2019 5:55pm
Forum: General
Topic: [Solved] Possible bug in Instr or gb.IgnoreCase in Gambas 3.12.0
Replies: 13
Views: 17606

Re: Try replacing InStr with String.InStr if code is suddenly acting strange

cogier and stevedee, thank you both for being on this. cogier thank you for reproducing the problem and confirming that this isn't an issue specific to my computers. And thank you for trying to compile 3.12.0 on Fedora. Looking over the complex compile instructions for Gambas, its something I would ...
by Godzilla
Thursday 3rd January 2019 8:00am
Forum: General
Topic: [Solved] Possible bug in Instr or gb.IgnoreCase in Gambas 3.12.0
Replies: 13
Views: 17606

Re: Try replacing InStr with String.InStr if code is suddenly acting strange

grayghost4 thank you for your reply and for testing the code. I see its working as expected on your system, as it did on both my computers before upgrading to Gambas 3.12.0. I had no idea images could be attached to posts here. That will be very useful! I hope this works. I'll be trying to attach on...
by Godzilla
Wednesday 2nd January 2019 5:46pm
Forum: General
Topic: [Solved] Possible bug in Instr or gb.IgnoreCase in Gambas 3.12.0
Replies: 13
Views: 17606

Re: Try replacing InStr with String.InStr if code is suddenly acting strange

Hi, cogier. Sure. Dim TheString As String TheString = "Gambas is Basic" Print InStr(TheString, "bas", 0, gb.IgnoreCase) Print InStr(TheString, "basi", 0, gb.IgnoreCase) Print String.InStr(TheString, "bas", 0, gb.IgnoreCase) Print String.InStr(TheString, "...
by Godzilla
Wednesday 2nd January 2019 5:29am
Forum: General
Topic: [Solved] Possible bug in Instr or gb.IgnoreCase in Gambas 3.12.0
Replies: 13
Views: 17606

[Solved] Possible bug in Instr or gb.IgnoreCase in Gambas 3.12.0

UPDATE: for those who've ugraded to 3.12.0, this bug is squashed as of the upcoming 3.12.1 stable release. Until then, if your code uses (InStr + gb.IgnoreCase), the (String.InStr + gb.IgnoreCase) or (InStr + LCase ) combinations will allow your code to continue working normally. -------------------...
by Godzilla
Monday 10th December 2018 1:20am
Forum: General
Topic: "Jump is too far" error in a complex Select-Case
Replies: 6
Views: 8483

Re: "Jump is too far" error in a complex Select-Case

As a follow-up on my original post, to help anyone in the future who may encounter this perplexing error. In my case, while the size of my code for this particular program may push limits, that was not the root cause of the error. The root cause of the error turned out to be an install of Gambas (st...
by Godzilla
Monday 10th December 2018 12:30am
Forum: General
Topic: How to open an old project from 2006 with Gambas 3.11.4?
Replies: 3
Views: 5042

Re: How to open an old project from 2006 with Gambas 3.11.4?

cogier, you've done it! Your project does encrypt and decrypt without any further modification. Playing around with it, I discovered the way to decrypt is to 1) encrypt some text 2) erase the contents of txtClear.Text, while leaving the other fields unchanged 3) click the decrypt button, which outpu...
by Godzilla
Saturday 8th December 2018 5:35pm
Forum: General
Topic: How to open an old project from 2006 with Gambas 3.11.4?
Replies: 3
Views: 5042

How to open an old project from 2006 with Gambas 3.11.4?

I was researching encryption and decryption in Gambas. Both functions don't appear to exist in Gambas. I found an old project from 2006 in the Gambas mailing list archives, where old VB source code for AES encryption/decryption was "Gambasized" and is said to work, according to the message...