This happens to me if I accidently click the mouse wheel when I'm
scrolling up or down a code module. I'm not normally aware of the paste
operation as I've scrolled it off the screen and only discover it later.
Not a bug, just clumsy mouse control. I'm running Unity on Ubuntu 14.04,
but it happene
In essence, I want to select all (first level) child elements of the current
element where attribute "Type"="R" and attribute "Status"="Open", in one hit.
Is this possible?
tia
Bruce
--
B Bruen
--
Time is money. Stop
The only possible problem I can think of is where the enumerated set "becomes"
null during the iteration. But quick testing shows that the iteration is done
on a copy of the set as at when the For Each is first entered. On the other
hand, you might want the enumeration to "automatically end" in
[System]
Gambas=3.5.90
OperatingSystem=Linux
Kernel=3.13.0-27-generic
Architecture=x86_64
Distribution=Ubuntu 14.04 LTS
Desktop=XFCE
Theme=QGtk
Language=en_US.UTF-8
Memory=3953M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30
Same problem with r6297.
Jussi
On Sun, Jun 1, 2014 at 3:36 AM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:
> Le 01/06/2014 01:07, Jussi Lahtinen a écrit :
> > Another try to focus... I'm drawing line from last point to current
> point,
> > so that current point became last point, and
Le 01/06/2014 01:07, Jussi Lahtinen a écrit :
> Another try to focus... I'm drawing line from last point to current point,
> so that current point became last point, and new current point is
> calculated. And so on. See attachment.
> So I expect to have continuous line, but I have loops and cuts..?
Oh, of course all enumerable classes, I was thinking command ENUM...
I try to think whether there could be situation where this would hide error
in code.
If for some error you pass Null object to this:
Public Function CountLargeObjects(hArrayOfObjects As Object[]) As Integer
Dim hObject As Obje
> On Sat, May 31, 2014 at 2:38 PM, Benoît Minisini <
> gam...@users.sourceforge.net> wrote:
>
> > Hi people,
> >
> > Does anybody have an objection against the following change:
> >
> > "For Each Value In Enumeration" raise an error if `Enumeration` is NULL.
> >
> > I suggest that instead it does
Another try to focus... I'm drawing line from last point to current point,
so that current point became last point, and new current point is
calculated. And so on. See attachment.
So I expect to have continuous line, but I have loops and cuts..? See
attached screenshot.
Jussi
DrawAccuracyProblem
Thanks!
Jussi
On Sat, May 31, 2014 at 10:47 PM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:
> Le 31/05/2014 21:16, Jussi Lahtinen a écrit :
> > Screenshot added.
> >
> > Jussi
> >
> >
> > On Sat, May 31, 2014 at 10:12 PM, Jussi Lahtinen <
> jussi.lahti...@gmail.com>
> > wrote:
> >
>
Le 31/05/2014 21:16, Jussi Lahtinen a écrit :
> Screenshot added.
>
> Jussi
>
>
> On Sat, May 31, 2014 at 10:12 PM, Jussi Lahtinen
> wrote:
>
>> Is there something I don't see (possible, hurt my back I'm on tizanidine)
>> or is this some weird bug?
>> Draw.LineStyle = Line.dot works in my other ap
Is there something I don't see (possible, hurt my back I'm on tizanidine)
or is this some weird bug?
Draw.LineStyle = Line.dot works in my other apps, but not in this.
I made little demonstration project (attached). I expect the red vertical
lines to be dotted.
Jussi
DotLineProblem-0.0.1.tar.g
2014-05-31 17:49 GMT+02:00 Jussi Lahtinen :
> Oh, in this case use IsInteger().
>
> Jussi
>
>
Got it, thanks!
--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/r
It's correct, NULL is not same as zero.
I suggest you use IsNumber() to determine if the string can be converted.
Jussi
On Sat, May 31, 2014 at 12:48 PM, Patrik Karlsson
wrote:
> Should not CInt("") return 0?
>
> Print cint("")
> Type mismatch: wanted Integer, got String instead
>
> /Patrik
>
Oh, in this case use IsInteger().
Jussi
On Sat, May 31, 2014 at 6:48 PM, Jussi Lahtinen
wrote:
> It's correct, NULL is not same as zero.
> I suggest you use IsNumber() to determine if the string can be converted.
>
> Jussi
>
>
> On Sat, May 31, 2014 at 12:48 PM, Patrik Karlsson > wrote:
>
>>
Maybe I'm missing something, but why there would be empty enums? I use it
only to declare constants.
So, at least I can't see any problems from this.
Jussi
On Sat, May 31, 2014 at 2:38 PM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:
> Hi people,
>
> Does anybody have an objection ag
Le 31/05/2014 16:59, Patrik Karlsson a écrit :
> Why do we have both Function() and Function$() in Gambas?
> e.g. Subst and Subst$, Left and Left$
>
> Is it an old Basic convention?
Yes. I'm not really "No more tradition's chains shall bind us" (american
lyrics of french "Du passé faisons table r
Why do we have both Function() and Function$() in Gambas?
e.g. Subst and Subst$, Left and Left$
Is it an old Basic convention?
Which variant is most desirable to use?
/Patrik
--
Time is money. Stop wasting it! Get your we
I think that the result is correct.
?Cint("0")
0
Try this in the gambas console to see how Gambas evaluate empty strings:
? if("", "Hola", "aloH")
aloH
? ["Item":Null].count
0
? ["Item":""].count
0
?isnull("")
True
2014-05-31 6:48 GMT-03:00 Patrik Karlsson :
> Should not CInt("") return 0?
>
Thanks Benoit, you are the Messi of BASIC based languages ;-)
and thank you VonZorch, I knew that workaround, but you reminder help me to
re-think my code.
2014-05-30 15:40 GMT-03:00 Benoît Minisini :
> Le 30/05/2014 00:34, Fabián Flores Vadell a écrit :
> > Hi folks.
> >
> > Just that, regardl
>
> Nice!
> Could we also have links to the changed page in the list? :)
>
> /Patrik
>
>
>Done.
>
>--
>Benoît Minisini
Awesome!
--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
htt
Hi people,
Does anybody have an objection against the following change:
"For Each Value In Enumeration" raise an error if `Enumeration` is NULL.
I suggest that instead it does nothing, as if Enumeration was a void array.
What do you think?
--
Benoît Minisini
-
2014-05-30 21:29 GMT+02:00 Benoît Minisini :
> Le 29/05/2014 22:28, Patrik Karlsson a écrit :
> > Would it be possible to enable read access to
> > http://gambaswiki.org/wiki/changes ?
> >
> > Every now and then I discover that a page has change and I think it would
> > be of value to see what pag
Le 31/05/2014 11:49, abbat81 a écrit :
> How to prevent editing any text in a ComboBox ?
> I can do it by "ReadOnly", but at I lose Combobox_Change Event.
> So, how to prevent editing any text in a ComboBox ?
>
Set ReadOnly to TRUE, and don't use the Change event, but the Click event.
Change eve
How to prevent editing any text in a ComboBox ?
I can do it by "ReadOnly", but at I lose Combobox_Change Event.
So, how to prevent editing any text in a ComboBox ?
--
View this message in context:
http://gambas.8142.n7.nabble.com/ComboBox-not-editable-Combopbox-Change-Event-tp46748p46768.html
Should not CInt("") return 0?
Print cint("")
Type mismatch: wanted Integer, got String instead
/Patrik
--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
I've a Sub to send email.
If I send a no-attachment mail all is OK.
If I send a non-text attached file, All is Ok.
But If I send a mail with a text file attached then the mail sended
contains the text that I send AND the text inside the attached file as
body... AND the text file attached too.
My
27 matches
Mail list logo