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
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
2010/11/24 Demosthenes Koptsis demosthen...@gmail.com:
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):
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
--
Increase
2010/11/24 Demosthenes Koptsis demosthen...@gmail.com:
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.
Ah yes, I got the double free error.
--
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 not sure I will be able to fix that in
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
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,
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
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
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 demosthen...@gmail.com:
hi,
PRINT IsObject(NULL)
returns
TRUE
The NULL constant is an object?
nead the help please !
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 you
Le 24 novembre 2010 11:59, Benoît Minisini
gam...@users.sourceforge.net 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
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 actualSUM
Application.Busy = 0
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, either
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
Returns
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 ;
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 Visibility of
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
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
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 or
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 Gambas2-2.21
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
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.path /tfc.pdf
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
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 it ;
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]
IF
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
SHELL shll WAIT
then:
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 shell to htmldoc to turn the
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 you
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
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
--
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 the
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 char...@pearceshardware.co.uk
Dimitris Anogiatis wrote:
Hey guys,
Does htmldoc have any UTF-8 support?
Looking at www.htmldoc.org I don't
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
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
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 entered what is
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
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
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
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
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
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 so
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 believe new
2010/11/25 Benoît Minisini gam...@users.sourceforge.net:
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
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
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 austin...@yahoo.com wrote:
Setting FMain.Mouse and calling WAIT is useless.
48 matches
Mail list logo