M0E Lnx ha scritto:
I always wandered myself how this works.
For instance... in python, you can code something like
import gtk
import glade
import pygtk
Doing so, you are not using 'external libraries' (shared objects) - you
are merely using a python library located somewhere in
Hi,
Is it possible to disallow certain characters from being entered in a
TextBox?
I'm splitting the data from the textbox and don't want the user to type in
the character (~) that is being used to split.
Thanks.
--
joshua higgins
--
Just got back and tried it... only the catch in ihaserror() runs. Makes
sense.
--
View this message in context:
http://www.nabble.com/catching-errors-tp22969154p22969611.html
Sent from the gambas-user mailing list archive at Nabble.com.
Hi,
I've been using CATCH as a sort of rudimentary catch all error handling in
my code. Just got a small question about when Gambas will run this code:
Example code follows
PUBLIC SUB ihaserror()
' the error happens in here
CATCH
PRINT OH NO!
END
PUBLIC SUB Main()
ihaserror()
CATCH
PRINT ERROR
Am Donnerstag, den 09.04.2009, 12:23 +0100 schrieb Joshua Higgins:
Hi,
Is it possible to disallow certain characters from being entered in a
TextBox?
I'm splitting the data from the textbox and don't want the user to type in
the character (~) that is being used to split.
Thanks.
Huh!.
I wouldn't be surprised at all if your arguments are true, but for
someone like myself, I feel that the documentation on this subject very
limited. I will try to look at some examples.
I need to access the libparted library, in the mean time, if you want
to work up a sample for me that
I always wandered myself how this works.
For instance... in python, you can code something like
import gtk
import glade
import pygtk
And use the methods in these modules throughout your app.
could this be done in gambas somehow?
I have had instances in gambas where I could really use a
On Thursday 09 April 2009, Jeff wrote:
What is the thinking behind a Result.MoveFirst() and MoveNext()
returning a false if a record is there?
So, to read round a result set I end up using a Boolean with a double
negative:
noMoreRows = myResult.MoveFirst()
WHILE NOT noMoreRows
PRINT
Ron_1st ha scritto:
On Thursday 09 April 2009, Jeff wrote:
What is the thinking behind a Result.MoveFirst() and MoveNext()
returning a false if a record is there?
So, to read round a result set I end up using a Boolean with a double
negative:
noMoreRows = myResult.MoveFirst()
WHILE
On Thursday 09 April 2009, Jeff wrote:
What is the thinking behind a Result.MoveFirst() and MoveNext()
returning a false if a record is there?
So, to read round a result set I end up using a Boolean with a double
negative:
noMoreRows = myResult.MoveFirst()
WHILE NOT noMoreRows
But during the long years now I have written programs :-) I found that we
most
often test for errors than success. So using TRUE for errors leads to less
lines of code.
It is just a matter of habit. And changing habits is a good thing, it keeps
you young. :-)
I need something to
11 matches
Mail list logo