Search found 68 matches

by sjsepan
Tuesday 14th January 2020 8:28pm
Forum: Component
Topic: Does anyone understand the gb.Map component?
Replies: 6
Views: 9527

Re: Does anyone understand the gb.Map component?

SteveDee, The exclamation point (! or 'bang') looks like a dictionary access operator that I used to see in VB/VBA. https://social.msdn.microsoft.com/Forums/en-US/1393df69-929e-49c6-93b0-5cb0fa7a6430/what-is-a-operator https://stackoverflow.com/questions/6841275/what-does-this-mean-in-the-specific-l...
by sjsepan
Sunday 15th December 2019 11:16pm
Forum: General
Topic: Gambas sqlite
Replies: 7
Views: 9072

Re: Gambas sqlite

Good path tips, Thanks! This is how I set up my sqlite databases. (This is from my event reminder app.) If I need to have the db in a NFS location, I can easily change the sBaseDir string variable and drop the "User.Home &/" from the xxxPath string variables. When creating a new db app...
by sjsepan
Saturday 14th December 2019 5:49pm
Forum: General
Topic: Gambas sqlite
Replies: 7
Views: 9072

Re: Gambas sqlite

Agreed, that is how I've always though of host. Perhaps, since this is a server-less (or in their words 'engine-less file-based') database, they felt they needed to re-purpose the Host property. Anyway, here is the help for SQLite, where they are even suggesting 'Application.path' for the value: htt...
by sjsepan
Friday 13th December 2019 8:04pm
Forum: General
Topic: Gambas sqlite
Replies: 7
Views: 9072

Re: Gambas sqlite

I tried this out today too, since I'm finally looking at db access in Gambas. Trying the code as is (with my own project and database paths) I got the equivalent of the following error (I say equivalent because I have edited it to show what it would look like with the path information from the examp...
by sjsepan
Sunday 24th November 2019 10:49pm
Forum: Web
Topic: GambasFarm Publish, duplicate key
Replies: 4
Views: 11207

Re: GambasFarm Publish, duplicate key

Thanks for researching that. That is interesting and problematic, not only because that one IS a library by purpose, but also because my whole series of DockAnchor projects are also libraries and uploaded without incident. I will have to see how other projects behave going forward. Thanks again! Ste...
by sjsepan
Friday 22nd November 2019 11:16pm
Forum: Web
Topic: GambasFarm Publish, duplicate key
Replies: 4
Views: 11207

Re: GambasFarm Publish, duplicate key

That's a new one on me. Can you post the code here and I will try, on your behalf, to see if I get the same result? COgier Thanks. Attached. Steve PS -- Oh, and I should also point out that I am running with 3.14. 2 , which I got an update for yesterday. I didn't think of it initially, because I am...
by sjsepan
Friday 22nd November 2019 3:22pm
Forum: Web
Topic: GambasFarm Publish, duplicate key
Replies: 4
Views: 11207

GambasFarm Publish, duplicate key

Attempting to upload a utility library that is referenced by several of my projects (those not posted yet, until this succeeds I will leave the older versions) and am getting a duplicate key error, even though there is not other project named the same: ('AppUtility'). Yes, the name is very generic, ...
by sjsepan
Thursday 21st November 2019 5:42pm
Forum: General
Topic: A challenge for you
Replies: 9
Views: 10167

Re: A challenge for you

stevedee, The example of pointers is appreciated nonetheless -- didn't see any robust examples elsewhere yet. Thanks! I did try ByRef the other day in the hope it would make a difference, but no. Delegates are an interesting and powerful feature, so I hope something like it makes it into Gambas some...
by sjsepan
Wednesday 20th November 2019 7:42pm
Forum: General
Topic: A challenge for you
Replies: 9
Views: 10167

Re: A challenge for you

I was looking through the Tasks on RosettaCode, and one called 'Repeat' caught my interest: one procedure has to be passed to another and be execute N number of times. It got me thinking: Is there a concept of a 'Delegate' in Gambas, or a way to pass a pointer to a procedure, and then reference it i...
by sjsepan
Wednesday 20th November 2019 6:16pm
Forum: General
Topic: Action, the class and the property
Replies: 11
Views: 11652

Re: Action, the class and the property

gbWilly, Thanks! I had not looked closely at Group because of the name, where in VB I might group controls like radio-buttons to act as different values associated with one field. I'll have to have a closer look... Steve __________ Hi, If you want separate events getting triggered by different contr...