2010/11/20 Phạm Quang Dương :
> Hi,
>
> My system language is English. I change the system language (re-login) to
> test my program GUI (but keep all my user's folders name (Desktop, Music
> ...) in English), and I lost Gambas2 IDE preferences (like color, font ...
> of the IDE editor). But when I
El sáb, 20-11-2010 a las 13:54 +0100, Caveat escribió:
> Hi Mauricio
>
> Sorry for the late reply, I was doing a lot of thinking. :-)
>
> Perhaps you might like something along these lines:
>
> XMLRewriter is a class in a little project I've been working on. The
> idea of XMLRewriter is that i
Greetings all,
I'm asking this question on behalf of a member of
http://www.gambasforum.com who can't access this mailing list as it's
blocked in his country for some reason ?
The issue he is trying to resolve is:
Using an ODBC connection to a MS SQL 2000 instance.
He can connect.
He can list t
Hi,
My system language is English. I change the system language (re-login) to
test my program GUI (but keep all my user's folders name (Desktop, Music
...) in English), and I lost Gambas2 IDE preferences (like color, font ...
of the IDE editor). But when I change system language back to English,
e
> > The SUBs event_read() such "PUBLIC SUB MySerialPort_Read()" in example
> > are raised recursively again and again if WAIT is called from them
> > because they are part of event loop or because event loop call them
> > again and again?
> How do they work what?
>
i speak about read events the
Great! it's easy!
Thanks very much!
On Sat, 2010-11-20 at 18:30 +0200, Jussi Lahtinen wrote:
> because lsr processes 32 bits of the short -9 and not 64 bits of the
> > long binary number?
> >
>
> Yes, -9 is considered as short.
> Try:
> ? bin(lsr(clng(-9),1), 64)
> 01
because lsr processes 32 bits of the short -9 and not 64 bits of the
> long binary number?
>
Yes, -9 is considered as short.
Try:
? bin(lsr(clng(-9),1), 64)
0011
Jussi
-
but why a shift to right of
? bin(-9, 64)
0111
is not
0011
and it is
? bin(lsr(-9,1), 64)
0011
hm, ok...
? bin(-9, 64)
0111
? bin(lsr(-9,1), 64)
0011
On Sat, 2010-11-20 at 17:58 +0200, Jussi Lahtinen wrote:
> ? bin(Lsr(-9,1),32)
--
Regards,
Demosthenes Koptsis.
--
Argh... no.
Try this:
? bin(Lsr(-9,1),32)
0011
Jussi
On Sat, Nov 20, 2010 at 17:55, Jussi Lahtinen wrote:
>
> PRINT "Bin(-9):"; Bin(-9)
>> PRINT "Bin(Lsl(-9, 1)):"; Bin(Lsl(-9, 1))
>> PRINT "Bin(Lsr(-9, 1)):"; Bin(Lsr(-9, 1))
>>
>> Bin(-9)
>> :111
> PRINT "Bin(-9):"; Bin(-9)
> PRINT "Bin(Lsl(-9, 1)):"; Bin(Lsl(-9, 1))
> PRINT "Bin(Lsr(-9, 1)):"; Bin(Lsr(-9, 1))
>
> Bin(-9)
> :0111
>
> Bin(Lsl(-9,1)):11101110
> Bin(L
Good evening to all,
i test Lsr with a negative short and i get i thing wrong results.
PRINT "Bin(-9):"; Bin(-9)
PRINT "Bin(Lsl(-9, 1)):"; Bin(Lsl(-9, 1))
PRINT "Bin(Lsr(-9, 1)):"; Bin(Lsr(-9, 1))
Bin(-9) :0111
Bin(L
hi, i have gambas2-2.21 rev3300
> Now my examples tell me if i am right...
>
> Dynamic arrays -
> 'locale scope in a SUB
> DIM aInt2 AS Integer[3]'this is a dynamic array
> DIM aInt2 AS Integer[] = [1, 2, 3] 'another dynamic array
>
> 'global scope in
Hi Mauricio
Sorry for the late reply, I was doing a lot of thinking. :-)
Perhaps you might like something along these lines:
DIM rewriter AS NEW XMLRewriter
' Read the original input XML (See http://pastebin.com/aR11N5uc)
rewriter.parseInput(User.home &/ "Heroes.xml")
' All existing Text
14 matches
Mail list logo