Re: [Gambas-user] gb.net.curl Issues

2013-08-03 Thread Jim Provan
Ok, merci. Jim Provan On Sat, Aug 3, 2013 at 1:14 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 01/08/2013 22:42, Jim Provan a écrit : > > So, how do you deal with self-signed certificates ? > > > > Jim Provan > > > > I don't know... I found an option related to that in the cu

Re: [Gambas-user] gb.net.curl Issues

2013-08-03 Thread Benoît Minisini
Le 01/08/2013 22:42, Jim Provan a écrit : > So, how do you deal with self-signed certificates ? > > Jim Provan > I don't know... I found an option related to that in the curl library documentation, so I can add it to the gb.net.curl component. But I didn't find that option in the curl command-li

Re: [Gambas-user] big-endian / little-endian conversion

2013-08-03 Thread Ru Vuott
Hello Jussi, thank you for your suggestion. Bye Vuott Sab 3/8/13, Jussi Lahtinen ha scritto: Oggetto: Re: [Gambas-user] big-endian / little-endian conversion A: "mailing list for gambas users" Cc: "Benoit" Data: Sabato 3 agosto 2013, 19:2

Re: [Gambas-user] big-endian / little-endian conversion

2013-08-03 Thread Jussi Lahtinen
Dim word As Short = &2301 Print Hex((Shr(word, 8) And &00FF) Or (Shl(word, 8) And &FF00)) Or: Print Hex((Shr(CShort(&2301), 8) And &00FF) Or (Shl(CShort(&2301), 8) And &FF00)) Jussi On Sat, Aug 3, 2013 at 7:14 PM, Ru Vuott wrote: > Hello, > > I was trying a big-endian / little-endian c

[Gambas-user] big-endian / little-endian conversion

2013-08-03 Thread Ru Vuott
Hello, I was trying a big-endian / little-endian conversion. In web I found this C function: ((word>>8) & 0x00FF) | ((word<<8) & 0xFF00) word is a " 16bit " value. Well, I translated that function in Gambas: Print Hex((Shr(&2301, 8) And &00FF) Or (Shl(&2301, 8) And &FF00)) I was