Earlier this week I was given an excellent definition oh Hungarian Convetion
naming ie the h in hObjects.
Could someone either point me to a resource in plain English or explain to
me in plain English the Datatypes?
Integer
Long
Short
Array
etc...
this is what I found on the documentation:
Dat
> 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 somethin
M0E Lnx ha scritto:
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 s
> 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 NO
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.MoveFi
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
>
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 myResult!id
noMoreRows = myResult.MoveNext()
WEN
> 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 r
>
> So, you have to write something like :
> (this is not tested)
> IF key.Code = "~" THEN
> STOP EVENT
> ENDIF
If you want to check a key against a real string, you can't do that, you must
use the Key.Text property.
Key.Text is different from Key.Code! Key.Code identifies the keyboard k
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 acce
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
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 "ERRO
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
>>--
---
14 matches
Mail list logo