I use
INC Application.Busy
and
DEC Application.Busy
in my applications on Debian Lenny (with LXDE)
and Gambas 2.21 and it works just fine.
Regards,
Dimitris
On Wed, Nov 24, 2010 at 9:23 PM, vikram wrote:
> > Setting FMain.Mouse and calling WAIT is useless. Application.Busy should
> > alrea
> Setting FMain.Mouse and calling WAIT is useless. Application.Busy should
> already set the busy cursor for every widget in the application. Otherwise
> this is a bug.
Application.Busy alone is not showing a busy pointer on Debian Squeeze, with
Gambas 2.21.
Regards,
Vikram
--
2010/11/25 Benoît Minisini :
>> good evening all,
>> i have another question about my eternal punishment: the result object :-)
>>
>> caveat answered to a former question about results in general:
>> >If you got into the habit of reading all the
>> >records you've selected into memory (or even if
> Benoit,
> The IsXXX functions confused me because when testing IsNumber("123") I
> got an error similar to "Expected number got a string". It seems you
> needed to know the type before testing for it.
Yes. Not really useful, except with variants.
> I therefore do not use
> it. However I believ
> I use IsNull extensively, is that going to be removed?
>
> richard
>
No. I use it extensively too.
Here is the result of my thought:
- You can know the datatype of a variant with the TypeOf() function. You don't
have to use the current Is() functions.
- But you often need to know if a
Benoit,
The IsXXX functions confused me because when testing IsNumber("123") I
got an error similar to "Expected number got a string". It seems you
needed to know the type before testing for it. I therefore do not use
it. However I believe new versions of software should be backward
compatible
>If I understand you right,
> If Not IsDigit(TextBox.Text) Then...
>wouldn't be changed?
No. All IsXXX() functions that just test characters won't be changed.
--
Benoît Minisini
--
Increase Visibility of Y
> On Wednesday 24 November 2010 22:32:26 Benoît Minisini wrote:
> > > On Wednesday 24 November 2010 22:08:34 Benoît Minisini wrote:
> > >
> > > Hi Benoit I use isDate() quite a lot, isNumber I think once
> > >
> > > Regards
> > > richard
> >
> > In which context exactly?
>
> When I've got textb
> good evening all,
> i have another question about my eternal punishment: the result object :-)
>
> caveat answered to a former question about results in general:
> >If you got into the habit of reading all the
> >records you've selected into memory (or even if the Result object
> >worked
> >
In Gambas2, I get a type mismatch error...but no error if ends in a 7
PUBLIC CONST LOWESTLONG AS Long = -9223372036854775808 'from wiki:
-9.223.372.036.854.775.808
-Fernando
--
Increase Visibility of Your 3D Game App &
I use IsNull extensively, is that going to be removed?
richard
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for
On Wednesday 24 November 2010 22:32:26 Benoît Minisini wrote:
> > On Wednesday 24 November 2010 22:08:34 Benoît Minisini wrote:
> >
> > Hi Benoit I use isDate() quite a lot, isNumber I think once
> >
> > Regards
> > richard
>
> In which context exactly?
>
When I've got textboxes and user has ente
If I understand you right,
If Not IsDigit(TextBox.Text) Then...
wouldn't be changed?
-Original-Nachricht-
Subject: [Gambas-user] Removing / Modifying Is() functions in Gambas 3
Date: Wed, 24 Nov 2010 12:08:34 +0100
From: Benoît Minisini
To: gambas-user@lists
Thanks, Benoît.
The "make" error has gone, the help browser behaves like any other window,
and I even learned how to copy from help. Fine!
-Original-Nachricht-
Subject: Re: [Gambas-user] To the wish list: FHelpBrowser
Date: Tue, 23 Nov 2010 18:57:25 +0100
From: Benoît
Hi:
Try wkhtmltopdf, in ubuntu repositories too... If you html code carry on the
Utf-8 esecification it works...
Goog Luck
2010/11/24 charlesg
>
>
> Dimitris Anogiatis wrote:
> >
> > Hey guys,
> >
> > Does htmldoc have any UTF-8 support?
> >
>
> Looking at www.htmldoc.org I don't think there is
good evening all,
i have another question about my eternal punishment: the result object :-)
caveat answered to a former question about results in general:
>If you got into the habit of reading all the
>records you've selected into memory (or even if the Result object
>worked
>that way behind
Dimitris Anogiatis wrote:
>
> Hey guys,
>
> Does htmldoc have any UTF-8 support?
>
Looking at www.htmldoc.org I don't think there is UTF-8 support. I just use
it for formatting tables.
It is in the Ubuntu repository (sudo apt-get install htmldoc) but I don't
know about other distros.
rgds
-
nevertheless some shortcut functions to analyse the text in function
of the localization will be useful
and a isPrintable ... to say if all the characters in the string can
be displayed (not special characters)
--
Increa
On Wed, 24 Nov 2010 11:53:20 pm you wrote:
> > Benoît,
> >
> > MAJOR PANIC! I use IsNumber extensively to do quick checks on field
> > parsing across heterogeneous databases. Using the 80-20 rule I can
> > parse text fields for junk appendices to an expected numeric.
> > Code such as
> >
> >
Am 24.11.2010 12:08, schrieb Benoît Minisini:
> Hi,
>
> I'm currently thinking about modifying/removing all Is() functions in
> Gambas 3.
>
> They mainly test the datatype of their expression. So, either the datatype is
> known at compile time, and there should be no need of testing it ; either
Hey guys,
Does htmldoc have any UTF-8 support?
Regards,
Dimitrios
On Wed, Nov 24, 2010 at 7:36 AM, Rolf-Werner Eilert <
eilert-sprac...@t-online.de> wrote:
> Am 24.11.2010 13:54, schrieb charlesg:
> >
> > Hi
> >
> >
> > Gregor Burck wrote:
> >>
> >> Can I direct print html?
> >>
> >
> > I shel
Am 24.11.2010 13:54, schrieb charlesg:
>
> Hi
>
>
> Gregor Burck wrote:
>>
>> Can I direct print html?
>>
>
> I shell to htmldoc to turn the html to pdf.
> e.g.
> shll = "htmldoc --bodyfont Sans --fontsize 6.0 --outfile "&
> Application.path& "/tfc.pdf --webpage "& Application.path& "/tfc.htm"
>
>
> Benoît,
>
> MAJOR PANIC! I use IsNumber extensively to do quick checks on field
> parsing across heterogeneous databases. Using the 80-20 rule I can parse
> text fields for junk appendices to an expected numeric.
> Code such as
>
> vItem=split(result!note," ",NULL,TRUE)[0]
>I
On Wed, 24 Nov 2010 09:38:34 pm Benoît Minisini wrote:
> Hi,
>
> I'm currently thinking about modifying/removing all Is() functions in
> Gambas 3.
>
> They mainly test the datatype of their expression. So, either the datatype
> is known at compile time, and there should be no need of testing
On Wed, 2010-11-24 at 21:57 +1030, Bruce Bruen wrote:
> I really don't see a problem here.
> Directly from the help:
> "IsObject
> Returns TRUE if the vRef is an object or a null reference.
> IsObject(NULL) doesn't refer to the NULL constant being an object, it is
> answering correctly that a
Hi
Gregor Burck wrote:
>
> Can I direct print html?
>
I shell to htmldoc to turn the html to pdf.
e.g.
shll = "htmldoc --bodyfont Sans --fontsize 6.0 --outfile " &
Application.path & "/tfc.pdf --webpage " & Application.path & "/tfc.htm"
SHELL shll WAIT
then:
shll = "lpr " & Application.pat
Hi,
I'm still experimenting with printing, the scale method was a good hint for me.
But now a other question:
Can I direct print html?
The background:
I try to improve a application, and I wonder if it is esyer to generate html
instead of print direkt, cause there are elements for layout.
In thi
On Wed, 2010-11-24 at 12:21 +0100, Fabien Bodard wrote:
> For exemple
> dim o as object
>
> isobject(o) will return true even if o is null... o can only be an object
>
> but
> dim v as variant
>
> is object(v) will return false if it is null ... it can be anything
hm... i checked this in Gamba
On 24-11-2010 12:28, Benoît Minisini wrote:
>> On 24-11-2010 12:08, Benoît Minisini wrote:
>>> Hi,
>>>
>>> I'm currently thinking about modifying/removing all Is() functions in
>>> Gambas 3.
>>>
>>> They mainly test the datatype of their expression. So, either the
>>> datatype is known at compi
On Wed, 2010-11-24 at 21:57 +1030, Bruce Bruen wrote:
> Returns TRUE if the vRef is an object or a null reference.
> IsObject(NULL) doesn't refer to the NULL constant being an object, it is
> answering correctly that a vRef=NULL is a null reference!
>
yes i saw now the help about NULL reference
> i will describe my thoughts about that,
>
> i read the
>
> http://gambasdoc.org/help/cat/constants
>
> and i saw that a TRUE or FALSE value is a Language constant.
> Also NULL is a Language constant!
>
> So i expected from IsObject() to return FALSE when it is feed with
> constants as argumen
i will describe my thoughts about that,
i read the
http://gambasdoc.org/help/cat/constants
and i saw that a TRUE or FALSE value is a Language constant.
Also NULL is a Language constant!
So i expected from IsObject() to return FALSE when it is feed with
constants as argument.
So
PRINT IsObject(
> On Wednesday 24 November 2010 22:08:34 Benoît Minisini wrote:
>
> Hi Benoit I use isDate() quite a lot, isNumber I think once
>
> Regards
> richard
>
In which context exactly?
--
Benoît Minisini
--
Increase Visibil
> On 24-11-2010 12:08, Benoît Minisini wrote:
> > Hi,
> >
> > I'm currently thinking about modifying/removing all Is() functions in
> > Gambas 3.
> >
> > They mainly test the datatype of their expression. So, either the
> > datatype is known at compile time, and there should be no need of
> >
On Wed, 24 Nov 2010 06:51:50 pm Demosthenes Koptsis wrote:
> hi,
>
> PRINT IsObject(NULL)
>
> returns
> TRUE
>
> The NULL constant is an object?
I really don't see a problem here.
Directly from the help:
"IsObject
Syntax
bRes = IsObject ( vRef ) AS Booelan
bRes = Object? ( vRef ) AS Boolean
On Wednesday 24 November 2010 22:08:34 Benoît Minisini wrote:
Hi Benoit I use isDate() quite a lot, isNumber I think once
Regards
richard
> Hi,
>
> I'm currently thinking about modifying/removing all Is() functions in
> Gambas 3.
>
> They mainly test the datatype of their expression. So, e
On 24-11-2010 12:09, Benoît Minisini wrote:
>> Hi,
>>
>> Heres how i "fixed" it, hope it is the right way to display a "wait" cursor
>> while a process executes.
>>
>> -
>> FMain.Mouse = Mouse.Wait
>> WAIT
>> Application.Busy = 1
>>
>> SHELL "sha512sum lenny.iso" TO actualSU
Le 24 novembre 2010 11:59, Benoît Minisini
a écrit :
>> hi,
>>
>> PRINT IsObject(NULL)
>>
>> returns
>> TRUE
>>
>> The NULL constant is an object?
>
> NULL is almost everything. So IsObject(Null) and IsString(Null) returns TRUE.
> But IsDate(Null) returns FALSE, whereas Null can be a date.
>
> So
On 24-11-2010 12:08, Benoît Minisini wrote:
> Hi,
>
> I'm currently thinking about modifying/removing all Is() functions in
> Gambas 3.
>
> They mainly test the datatype of their expression. So, either the datatype is
> known at compile time, and there should be no need of testing it ; either y
sorry...
i ll be more careful next time.
On Wed, 2010-11-24 at 11:53 +0100, Fabien Bodard wrote:
> 2010/11/24 Demosthenes Koptsis :
> >
> > hi,
> >
> > PRINT IsObject(NULL)
> >
> > returns
> > TRUE
> >
> > The NULL constant is an object?
>
> nead the help please !
>
> http://gambasdoc.org/help/
> Hi,
>
> Heres how i "fixed" it, hope it is the right way to display a "wait" cursor
> while a process executes.
>
> -
> FMain.Mouse = Mouse.Wait
> WAIT
> Application.Busy = 1
>
> SHELL "sha512sum lenny.iso" TO actualSUM
>
> Application.Busy = 0
> FMain.Mouse = Mouse.De
i expected a FALSE than all this code show up in console.
On Wed, 2010-11-24 at 11:53 +0100, Benoît Minisini wrote:
> > Good morning to all,
> >
> > write this code to see something strange
> >
> > DIM aInt2[1] AS String
> >
> > PRINT IsObject(aInt2)
> >
> > Gambas2-2.21 rev3300
> > Ubuntu 10
Hi,
I'm currently thinking about modifying/removing all Is() functions in
Gambas 3.
They mainly test the datatype of their expression. So, either the datatype is
known at compile time, and there should be no need of testing it ; either you
are using a Variant, and you can use TypeOf() to g
Hi,
Heres how i "fixed" it, hope it is the right way to display a "wait" cursor
while a process executes.
-
FMain.Mouse = Mouse.Wait
WAIT
Application.Busy = 1
SHELL "sha512sum lenny.iso" TO actualSUM
Application.Busy = 0
FMain.Mouse = Mouse.Default
> hi,
>
> PRINT IsObject(NULL)
>
> returns
> TRUE
>
> The NULL constant is an object?
NULL is almost everything. So IsObject(Null) and IsString(Null) returns TRUE.
But IsDate(Null) returns FALSE, whereas Null can be a date.
So things are not very logical there.
--
Benoît Minisini
-
> > > Good morning to all,
> > >
> > > write this code to see something strange
> > >
> > > DIM aInt2[1] AS String
> > >
> > > PRINT IsObject(aInt2)
> > >
> > > Gambas2-2.21 rev3300
> > > Ubuntu 10.04, AMD64
> >
> > I see nothing strange.
>
> Ah yes, I got the "double free" error.
Mmm. I'm n
> > Good morning to all,
> >
> > write this code to see something strange
> >
> > DIM aInt2[1] AS String
> >
> > PRINT IsObject(aInt2)
> >
> > Gambas2-2.21 rev3300
> > Ubuntu 10.04, AMD64
>
> I see nothing strange.
Ah yes, I got the "double free" error.
--
Benoît Minisini
-
2010/11/24 Demosthenes Koptsis :
>
> hi,
>
> PRINT IsObject(NULL)
>
> returns
> TRUE
>
> The NULL constant is an object?
nead the help please !
http://gambasdoc.org/help/lang/isobject
>
> --
> Regards,
> Demosthenes Koptsis.
>
>
> -
> Good morning to all,
>
> write this code to see something strange
>
> DIM aInt2[1] AS String
>
> PRINT IsObject(aInt2)
>
> Gambas2-2.21 rev3300
> Ubuntu 10.04, AMD64
>
I see nothing strange.
--
Benoît Minisini
--
2010/11/24 Demosthenes Koptsis :
> Good morning to all,
>
> write this code to see something strange
>
> DIM aInt2[1] AS String
>
> PRINT IsObject(aInt2)
>
> Gambas2-2.21 rev3300
> Ubuntu 10.04, AMD64
>
that ?
False
*** glibc detected *** menudyn: double free or corruption (fasttop):
0x02
hi,
PRINT IsObject(NULL)
returns
TRUE
The NULL constant is an object?
--
Regards,
Demosthenes Koptsis.
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base &
Good morning to all,
write this code to see something strange
DIM aInt2[1] AS String
PRINT IsObject(aInt2)
Gambas2-2.21 rev3300
Ubuntu 10.04, AMD64
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $5
52 matches
Mail list logo