It seems that if the underlying sqlite database file for a defined connection
has been deleted then when you click on the IDE Connections entry for that
database the IDE will silently crash.
Create an sqlite datdbase.
Create a connection for it in the IDE.
Delete the database file.
Double click
It's about how should I proceed to add this new component to the PPAs. Not
sure if it should be a separate component or distributed with the runtime.
On Dec 1, 2014 8:38 PM, "B Bruen" wrote:
> On Mon, 1 Dec 2014 20:30:19 -0300
> Sebastian Kulesz wrote:
>
> > Would it be okay to include this comp
Le 02/12/2014 00:30, Sebastian Kulesz a écrit :
> Would it be okay to include this component inside the gambas3-runtime
> package or should I create a new one for it?
>
I think you should create a new one, as it is completely optional.
Regards,
--
Benoît Minisini
--
On Mon, 1 Dec 2014 20:30:19 -0300
Sebastian Kulesz wrote:
> Would it be okay to include this component inside the gambas3-runtime
> package or should I create a new one for it?
>
>
Not sure what you are talking about?
B
--
B Bruen
---
Would it be okay to include this component inside the gambas3-runtime
package or should I create a new one for it?
On Mon, Dec 1, 2014 at 8:25 PM, B Bruen wrote:
> On Mon, 01 Dec 2014 14:48:59 +0100
> Benoît Minisini wrote:
>
> > Hi,
> >
> > I'd like to create a 'gb.util' component, written in
UGH, another stupid mistake on my part.
Well that having been corrected I offer the following:
'
' Gambas module file
' The problem I have as an ignorant, narrow minded, English speaking
' American is that I do not know of many accented characters :>(
Private Const Ac
On Mon, 01 Dec 2014 14:48:59 +0100
Benoît Minisini wrote:
> Hi,
>
> I'd like to create a 'gb.util' component, written in Gambas, to collect
> useful non-GUI programming routines that can't go directly into the
> interpreter because it would make it too heavy.
>
> For example:
>
> - Creating
Am Montag, den 01.12.2014, 16:27 -0600 schrieb Lewis Balentine:
> >>...and read the documentation of InStr carefully again.<<
> "This function only deal with ASCII strings. To manipulate UTF-8
> strings, use the String class."
>
> P = String.InStr("Ũ", "ŷŶũŨẽẼĩĨòåš", gb.Binary)
> P = String.InStr
On Mon, 01 Dec 2014, Charlie Reinl wrote:
> Am Montag, den 01.12.2014, 17:47 +0100 schrieb Tobias Boege:
> > On Sat, 29 Nov 2014, Charlie Reinl wrote:
> > > Am Samstag, den 29.11.2014, 20:05 +0100 schrieb Tobias Boege:
> > > > On Tue, 18 Nov 2014, Karl Reinl wrote:
> > > > > Salut Tobi,
> > > > >
>>...and read the documentation of InStr carefully again.<<
"This function only deal with ASCII strings. To manipulate UTF-8
strings, use the String class."
P = String.InStr("Ũ", "ŷŶũŨẽẼĩĨòåš", gb.Binary)
P = String.InStr("Ũ", "ŷŶũŨẽẼĩĨòåš", gb.IgnoreCase)
P = String.InStr("Ũ", "ŷŶũŨẽẼĩĨòåš")
P
On 12/01/2014 03:47 PM, Benoît Minisini wrote:
> Le 01/12/2014 21:37, Tobias Boege a écrit :
>> On Mon, 01 Dec 2014, T Lee Davidson wrote:
>>> On 12/01/2014 02:35 PM, Beno??t Minisini wrote:
Maybe an Oct$() function inside the interpreter. Octal is normally not
needed with Gambas. Do you
Le 01/12/2014 23:03, Charlie Reinl a écrit :
> Am Montag, den 01.12.2014, 15:54 -0600 schrieb Lewis Balentine:
Removing accents from an UTF-8 string.<<
>> H' . Plan "A" is a loser.
>>
>> it seems the instr() function does not like accented characters:
>> P = InStr("Ũ", "ŷŶũŨẽẼĩĨòåš")
>
Am Montag, den 01.12.2014, 15:54 -0600 schrieb Lewis Balentine:
> >>Removing accents from an UTF-8 string.<<
> H' . Plan "A" is a loser.
>
> it seems the instr() function does not like accented characters:
> P = InStr("Ũ", "ŷŶũŨẽẼĩĨòåš")
> Result: P=0
>
Salut Lewis,
for UTF-8 use "String
>>Removing accents from an UTF-8 string.<<
H' . Plan "A" is a loser.
it seems the instr() function does not like accented characters:
P = InStr("Ũ", "ŷŶũŨẽẼĩĨòåš")
Result: P=0
--
Download BIRT iHub F-Type - The
Am Montag, den 01.12.2014, 17:47 +0100 schrieb Tobias Boege:
> On Sat, 29 Nov 2014, Charlie Reinl wrote:
> > Am Samstag, den 29.11.2014, 20:05 +0100 schrieb Tobias Boege:
> > > On Tue, 18 Nov 2014, Karl Reinl wrote:
> > > > Salut Tobi,
> > > >
> > > > played with you trie example (trietest) it cra
As an individual who rarely deals with "C" or "C++" I can not comment in
that regard.Consider the target audience. I believe the suggested syntax
would be more intuitive to a "Basic" programmer.
however and old dog can learn new tricks.
Ref: http://www.cplusplus.com/reference/cstdlib/strtol/
Le 01/12/2014 21:37, Tobias Boege a écrit :
> On Mon, 01 Dec 2014, T Lee Davidson wrote:
>> On 12/01/2014 02:35 PM, Beno??t Minisini wrote:
>>> Maybe an Oct$() function inside the interpreter. Octal is normally not
>>> needed with Gambas. Do you have any use of that?
>>
>> Perhaps only occasional u
Le 01/12/2014 21:29, Tobias Boege a écrit :
> On Mon, 01 Dec 2014, Lewis Balentine wrote:
>> >> Octal is normally not needed with Gambas. Do you have any use of
>> that? <<
>>
>> Neither is "binary" best I can tell. It is still convenient to have
>> these tools available. One may not always be de
On Mon, 01 Dec 2014, T Lee Davidson wrote:
> On 12/01/2014 02:35 PM, Beno??t Minisini wrote:
> > Maybe an Oct$() function inside the interpreter. Octal is normally not
> > needed with Gambas. Do you have any use of that?
>
> Perhaps only occasional use, but, yes. Stat.Mode returns the mode of a
>
On Mon, 01 Dec 2014, Lewis Balentine wrote:
> >> Octal is normally not needed with Gambas. Do you have any use of
> that? <<
>
> Neither is "binary" best I can tell. It is still convenient to have
> these tools available. One may not always be dealing with numbers
> originating in Gambas or ou
On 12/01/2014 02:35 PM, Benoît Minisini wrote:
> Maybe an Oct$() function inside the interpreter. Octal is normally not
> needed with Gambas. Do you have any use of that?
Perhaps only occasional use, but, yes. Stat.Mode returns the mode of a
file as a decimal integer which is not very intuitive f
>> Octal is normally not needed with Gambas. Do you have any use of
that? <<
Neither is "binary" best I can tell. It is still convenient to have
these tools available. One may not always be dealing with numbers
originating in Gambas or output targeting Gambas.
Hex$(), Dec$(), Oct$(), Bin$()
Benoît:
Yes, my function does not :(
I would like to be implemented
Regards
Julio
2014-12-01 20:36 GMT+01:00 Benoît Minisini :
> Le 01/12/2014 19:26, Julio Sanchez a écrit :
> > Benoît:
> >
> >> content = Scan(text, "***")
> > Yes, function as a "simple" between. But would not work with nes
Le 01/12/2014 19:26, Julio Sanchez a écrit :
> Benoît:
>
>> content = Scan(text, "***")
> Yes, function as a "simple" between. But would not work with nestings
>
> Example:
>Dim arrayStr As String[]
>Dim text As String
>
>text = "Hola Bonito gato negro "
>
>ArrayStr = Scan(text,
Le 01/12/2014 19:11, T Lee Davidson a écrit :
> On 12/01/2014 08:48 AM, Benoît Minisini wrote:
>> Hi,
>>
>> I'd like to create a 'gb.util' component, written in Gambas, to collect
>> useful non-GUI programming routines that can't go directly into the
>> interpreter because it would make it too heav
Le 01/12/2014 19:51, Stephen a écrit :
> What is GAMBAS looking at/for when it attempts to load a project in
> order to pop up the warning that it "seems to be already opened"? I've
> been hunting around for lock files and/or other flotsam that might have
> been left over from an IDE crash but
Le 01/12/2014 19:05, Tobias Boege a écrit :
> On Mon, 01 Dec 2014, Tobias Boege wrote:
>>> If they are keys, they should be ASCII, not UTF-8, like with the
>>> Collection class.
>>>
>>
>> Currently the Trie supports arbitrary sequences of bytes as keys. It would
>> take some time to move the code b
Restarted VM, now loads with no message... very strange... but OK,
keep moving forward.
On 12/01/2014 02:04 PM, Stephen wrote:
> On 12/01/2014 01:55 PM, Tobias Boege wrote:
>> On Mon, 01 Dec 2014, Stephen wrote:
>>> What is GAMBAS looking at/for when it attempts to load a project in
>>> o
On 12/01/2014 01:55 PM, Tobias Boege wrote:
> On Mon, 01 Dec 2014, Stephen wrote:
>> What is GAMBAS looking at/for when it attempts to load a project in
>> order to pop up the warning that it "seems to be already opened"? I've
>> been hunting around for lock files and/or other flotsam that migh
Yeah.. I thought it might be something like that.. but I don't see
any file .lock in the project directory. Very strange.
On 12/01/2014 01:55 PM, Tobias Boege wrote:
> On Mon, 01 Dec 2014, Stephen wrote:
>> What is GAMBAS looking at/for when it attempts to load a project in
>> order to pop
On Mon, 01 Dec 2014, Stephen wrote:
>What is GAMBAS looking at/for when it attempts to load a project in
> order to pop up the warning that it "seems to be already opened"? I've
> been hunting around for lock files and/or other flotsam that might have
> been left over from an IDE crash but s
What is GAMBAS looking at/for when it attempts to load a project in
order to pop up the warning that it "seems to be already opened"? I've
been hunting around for lock files and/or other flotsam that might have
been left over from an IDE crash but see nothing *obvious*.
--
Kindest Regards
S
Benoît:
>content = Scan(text, "***")
Yes, function as a "simple" between. But would not work with nestings
Example:
Dim arrayStr As String[]
Dim text As String
text = "Hola Bonito gato negro "
ArrayStr = Scan(text, "***")
Print arrayStr[1]
Return:
"Bonito gato "
If you respect
On 12/01/2014 08:48 AM, Benoît Minisini wrote:
> Hi,
>
> I'd like to create a 'gb.util' component, written in Gambas, to collect
> useful non-GUI programming routines that can't go directly into the
> interpreter because it would make it too heavy.
>
> [snip]
>
> The difficulty will be to find the
On Mon, 01 Dec 2014, Tobias Boege wrote:
> > If they are keys, they should be ASCII, not UTF-8, like with the
> > Collection class.
> >
>
> Currently the Trie supports arbitrary sequences of bytes as keys. It would
> take some time to move the code back in that restricts the key space to
> ASCII
On Mon, 01 Dec 2014, Beno?t Minisini wrote:
> > (After writing about half an hour complaining how hard it would be to get
> > case-insensitivity right and efficient) I just had a magnificent idea: I
> > will extend the native Trie class in Gambas and do something like that:
> >
> >' Written fro
Le 01/12/2014 17:47, Tobias Boege a écrit :
> On Sat, 29 Nov 2014, Charlie Reinl wrote:
>> Am Samstag, den 29.11.2014, 20:05 +0100 schrieb Tobias Boege:
>>> On Tue, 18 Nov 2014, Karl Reinl wrote:
Salut Tobi,
played with you trie example (trietest) it crash if
p = h.GetPrefix("te
On Mon, 01 Dec 2014, Tobias Boege wrote:
> Public Sub Add(Value As Variant, Key As String)
> Dim hEntry As New _Trie_Entry
> Dim sKey As String = Key
>
> If $iMode = gb.IgnoreCase Then sKey = String.Upper(Key)
> hEntry.Key = Key
> hEntry.Value = Value
> Super.Add(Value, s
On Sat, 29 Nov 2014, Charlie Reinl wrote:
> Am Samstag, den 29.11.2014, 20:05 +0100 schrieb Tobias Boege:
> > On Tue, 18 Nov 2014, Karl Reinl wrote:
> > > Salut Tobi,
> > >
> > > played with you trie example (trietest) it crash if
> > > p = h.GetPrefix("texte") find nothing (p=null), even when ch
Le 01/12/2014 15:33, Julio Sanchez a écrit :
> Hi, Benoît:
>
> I think this function is interesting: Between
>
> Function Between(string_large as string, word_begin as string, word_end as
> string) as string
>
> DIM iinf AS Integer
> DIM isup AS Integer
> iinf = InStr(string_large,word_begin) + L
Hi, Benoît:
I think this function is interesting: Between
Function Between(string_large as string, word_begin as string, word_end as
string) as string
DIM iinf AS Integer
DIM isup AS Integer
iinf = InStr(string_large,word_begin) + Len(word_begin)
isup = InStr(string_large , word_end, iinf)
RET
Hi,
I'd like to create a 'gb.util' component, written in Gambas, to collect
useful non-GUI programming routines that can't go directly into the
interpreter because it would make it too heavy.
For example:
- Creating a directory and all its parent.
- Removing accents from an UTF-8 string.
- A
Le 01/12/2014 14:26, Lewis Balentine a écrit :
>>> Why do you hijack the thread? <<
>
> My apologies.
> I hit the reply button and changed the subject line thinking that it
> would create a new thread. I will not make the same mistake in the
> future :-( I will probably make a different one).
Alas
>> Why do you hijack the thread? <<
My apologies.
I hit the reply button and changed the subject line thinking that it
would create a new thread. I will not make the same mistake in the
future :-( I will probably make a different one).
>> If you use the development version, you can publish it
Le 01/12/2014 14:00, Lewis Balentine a écrit :
> I created a sample application for gb.settings as I worked through how
> to use this Gambas component. I decided that short and simple is
> probably better for new users. The project is released to the PUBLIC
> DOMAIN (without restrictions) and avail
I created a sample application for gb.settings as I worked through how
to use this Gambas component. I decided that short and simple is
probably better for new users. The project is released to the PUBLIC
DOMAIN (without restrictions) and available at the following URL:
ScreenShot:
http://www.
46 matches
Mail list logo