Le 02/12/2014 11:01, Julio Sanchez a écrit :
> Benoît:
>
> Well...
>
> what if only create an object of the same class of "original" object (no
> controls) and copy the values of the properties?
> ( Return a shallow copy of object. )
>
> Comment:
> In other languages, there _copy() method which c
Le 02/12/2014 20:06, Lewis Balentine a écrit :
> I believe that these may be the characters of interest:
> Private Const AccentInFilter As String =
> "ÀÁÂÃÄÅĀĂĄăāąàáâãäåÇĆĊĈČćĉċčçĎĐďđĒÈÉÊËĔĖĘĚẼẽēĕėęěèéêëĜĞĠĢĝğġģĤĦħĥÌÍÎÏĨĪĬĮİĩīĭįıìíîïĴĵĶķĸĹĺĻĽŁļľĿŀłÑŃŅŇńņňʼnñŊŋÒÓÔÕÖŌŎŐØōŏőòóôõöðøŔŖŘŕŗřŚŜŞŠşŝśšŢŤŦţťŧÙ
I believe that these may be the characters of interest:
Private Const AccentInFilter As String =
"ÀÁÂÃÄÅĀĂĄăāąàáâãäåÇĆĊĈČćĉċčçĎĐďđĒÈÉÊËĔĖĘĚẼẽēĕėęěèéêëĜĞĠĢĝğġģĤĦħĥÌÍÎÏĨĪĬĮİĩīĭįıìíîïĴĵĶķĸĹĺĻĽŁļľĿŀłÑŃŅŇńņňʼnñŊŋÒÓÔÕÖŌŎŐØōŏőòóôõöðøŔŖŘŕŗřŚŜŞŠşŝśšŢŤŦţťŧÙÚÛÜŨŪŬŮŰŲũūŭůűųùúûüŴŵŶŸÝŷýÿŹŻŽżźž"
Private Const Acc
Benoît:
Well...
what if only create an object of the same class of "original" object (no
controls) and copy the values of the properties?
( Return a shallow copy of object. )
Comment:
In other languages, there _copy() method which can be declared as must back
https://docs.python.org/2/library/
Le 02/12/2014 10:28, Julio Sanchez a écrit :
> Benoît:
>
> New function for add: Copy Objects
>
> Code Source:
> http://www.gambasforge.org/code-62-copier-un-controle-ou-un-conteneur-et-ses-enfants.html
>
> Regards,
>
> Julio
>
Alas this is not reliable at all. The state of a control is internal,
Benoît:
New function for add: Copy Objects
Code Source:
http://www.gambasforge.org/code-62-copier-un-controle-ou-un-conteneur-et-ses-enfants.html
Regards,
Julio
2014-12-02 0:43 GMT+01:00 Sebastian Kulesz :
> It's about how should I proceed to add this new component to the PPAs. Not
> sure if
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
>>...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
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
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
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
33 matches
Mail list logo