Re: [Gambas-user] GAMBAS AND ORACLE

2010-03-06 Thread Ricardo Díaz Martín
Qt libraries have got Oracle connectivity and gambas uses these. How can add
suppor for this in gambas? Other way can be create a C++ component, but
there is a lot of time I haven't used it. Any tips?

Thanks in advance.

2010/3/5 Fabien Bodard gambas...@gmail.com

 the better way will be to write a driver ... but oracle have a
 proprietary licence

 2010/3/5 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
  Hi,
 
  Did somebody connected gambas to an oracle database? Is the only way
 using
  ODBC?
 
  I'm goint to port a windows based application made with MS Access that
 get
  and mix data from MSSQLServer and Oracle to gambas and I don't know if is
  possible to do this with gambas.
 
  I allways use gambas as a MySQL frontend and I'm not sure how to do this.
 
  I think I can use Oracle dblinks to connect whith main dababase and
 migrate
  data from MSSQLServer to Oracle Server (because Oracle Server is not
  replaceable and MSQLServer yes).
 
  All your ideas are wellcome!
 
  Regards,
  Ricardo Díaz
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Property expand in Tabstrip

2010-03-06 Thread Les Hardy
craf wrote:
 Hi.

 How can I set a textbox to the width of a tastrip?.The property does not
 expand.

 Regards


   
I assume the tabstrip is arrange by the form.
With TextBox1 in TabStrip1

PUBLIC SUB Form_Arrange()
  TextBox1.Move(5, TextBox1.top, TabStrip1.width - 10, TextBox1.height)
END

Regards
Les Hardy

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Property expand in Tabstrip

2010-03-06 Thread Les Hardy
craf wrote:
 Hi.

 How can I set a textbox to the width of a tastrip?.The property does not
 expand.

 Regards


   
You can also do it directly on the tabstrip...

PUBLIC SUB TabStrip1_Arrange()

  TextBox1.Move(5, TextBox1.top, TabStrip1.width - 10, TextBox1.height)

END

Les Hardy

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 Dock Widget in qt

2010-03-06 Thread Fabien Bodard
2010/3/6 EA7DFH ea7...@ea7dfh.com:
 Fabien Bodard escribió:
 i think it is possible to make a componant in gambas for that ... you
 can try to do it if you want

 2010/3/5 EA7DFH ea7...@ea7dfh.com:
 This is for Benoît :-)

 As far as I'm experimenting with latest Gambas3 snapshot, I haven't
 found a Dock Widget like in Qt Widgets (Qt Designer).

 Is it planned to do so?

 Thanks,

 Jesus

 Unfortunately I don't know C/C++ to do that. Furthermore, I think there
 may be more components involved for Docking to work, as gb.qt itself.

all gambas compents are not in C/C++... for example gb.report,
gb.form, gb.db.form, etc are writted in gambas basic !



 Dreaming is free... :-)

 Regards,

 Jesus

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GAMBAS AND ORACLE

2010-03-06 Thread Fabien Bodard
2010/3/6 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
 Qt libraries have got Oracle connectivity and gambas uses these. How can add
 suppor for this in gambas? Other way can be create a C++ component, but
 there is a lot of time I haven't used it. Any tips?

Gambas use qt libs only for the gui part , for example dbus, mysql,
and else are directly managed by gambas... so an application with
another gui can access to these parts(gtk, sdl, console app, cgi)

if you want to see how to do a database driver look in the gambas
source in gb.db.mysql/



 Thanks in advance.

 2010/3/5 Fabien Bodard gambas...@gmail.com

 the better way will be to write a driver ... but oracle have a
 proprietary licence

 2010/3/5 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
  Hi,
 
  Did somebody connected gambas to an oracle database? Is the only way
 using
  ODBC?
 
  I'm goint to port a windows based application made with MS Access that
 get
  and mix data from MSSQLServer and Oracle to gambas and I don't know if is
  possible to do this with gambas.
 
  I allways use gambas as a MySQL frontend and I'm not sure how to do this.
 
  I think I can use Oracle dblinks to connect whith main dababase and
 migrate
  data from MSSQLServer to Oracle Server (because Oracle Server is not
  replaceable and MSQLServer yes).
 
  All your ideas are wellcome!
 
  Regards,
  Ricardo Díaz
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] X--tag-CC command not found

2010-03-06 Thread Fabien Bodard
i've jaunty too what is your problem ?



2010/3/6  rte...@pacific.net.au:
 kubuntu jaunty lib tool 2.2.6

 Won''t compile,any help appriated.

 richard

 gambas-u...@lists.sourceforge.nettool 1.16


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Where are the autopackage files

2010-03-06 Thread Benoît Minisini
 O.K. I was only thinking that it should have extension .package, since at
 Autopackage's site they were speaking about it.

?! Autopackage and autotools have nothing in common, except the four first 
letters.

-- 
Benoît Minisini

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] What are the {} enclosed variables

2010-03-06 Thread Charlie Reinl
--8 
Salut,

the answer can be found on gambasdoc at

for Variable Declaration
http://gambasdoc.org/help/lang/vardecl

or for Local Variable Declaration
http://gambasdoc.org/help/lang/localdecl

Thanks for you help.
Charlie


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] What are the {} enclosed variables

2010-03-06 Thread Benoît Minisini
 --8 
 Salut,
 
 the answer can be found on gambasdoc at
 
 for Variable Declaration
 http://gambasdoc.org/help/lang/vardecl
 
 or for Local Variable Declaration
 http://gambasdoc.org/help/lang/localdecl
 
 Thanks for you help.
 Charlie
 

Maybe you should have done a specific page, as this syntax can be used for 
methods declaration, constants declaration, events declaration, arguments... 
Anywhere an identifier is possible!

-- 
Benoît Minisini

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GAMBAS AND ORACLE

2010-03-06 Thread Ricardo Díaz Martín
Thanks Fabien, it will be my next movement...

At the moment I'm reading documentation about sqlapi++ (from www.sqlapic.com)
in order to see the way to make the integration with gambas.

I'll report on my progress.

Regards,
Ricardo

2010/3/6 Fabien Bodard gambas...@gmail.com

 2010/3/6 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
  Qt libraries have got Oracle connectivity and gambas uses these. How can
 add
  suppor for this in gambas? Other way can be create a C++ component, but
  there is a lot of time I haven't used it. Any tips?

 Gambas use qt libs only for the gui part , for example dbus, mysql,
 and else are directly managed by gambas... so an application with
 another gui can access to these parts(gtk, sdl, console app, cgi)

 if you want to see how to do a database driver look in the gambas
 source in gb.db.mysql/


 
  Thanks in advance.
 
  2010/3/5 Fabien Bodard gambas...@gmail.com
 
  the better way will be to write a driver ... but oracle have a
  proprietary licence
 
  2010/3/5 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
   Hi,
  
   Did somebody connected gambas to an oracle database? Is the only way
  using
   ODBC?
  
   I'm goint to port a windows based application made with MS Access that
  get
   and mix data from MSSQLServer and Oracle to gambas and I don't know if
 is
   possible to do this with gambas.
  
   I allways use gambas as a MySQL frontend and I'm not sure how to do
 this.
  
   I think I can use Oracle dblinks to connect whith main dababase and
  migrate
   data from MSSQLServer to Oracle Server (because Oracle Server is not
   replaceable and MSQLServer yes).
  
   All your ideas are wellcome!
  
   Regards,
   Ricardo Díaz
  
 
 --
   Download Intel#174; Parallel Studio Eval
   Try the new software tools for yourself. Speed compiling, find bugs
   proactively, and fine-tune applications for parallel performance.
   See why Intel Parallel Studio got high marks during beta.
   http://p.sf.net/sfu/intel-sw-dev
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
  
 
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] What are the {} enclosed variables

2010-03-06 Thread Charlie Reinl
Am Samstag, den 06.03.2010, 15:43 +0100 schrieb Benoît Minisini:
  --8 
  Salut,
  
  the answer can be found on gambasdoc at
  
  for Variable Declaration
  http://gambasdoc.org/help/lang/vardecl
  
  or for Local Variable Declaration
  http://gambasdoc.org/help/lang/localdecl
  
  Thanks for you help.
  Charlie
  
 
 Maybe you should have done a specific page, as this syntax can be used for 
 methods declaration, constants declaration, events declaration, arguments... 
 Anywhere an identifier is possible!
 

vieux motard que jamais as Giacomo Agostini said.;-)

So I open a new page called Special for any identifier
http://gambasdoc.org/help/lang/specdecl

But I think, more different examples would be needed.


-- 
Amicalement
Charlie


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GAMBAS AND ORACLE

2010-03-06 Thread Fabien Bodard
2010/3/6 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
 Thanks Fabien, it will be my next movement...

 At the moment I'm reading documentation about sqlapi++ (from www.sqlapic.com)
 in order to see the way to make the integration with gambas.

 I'll report on my progress.

the problem is that lib is not gnu and is a shareware... so every body
can't have it on he's machine :/... i think it will be better to use
directly api from oracle ...

so during the compilation we can test if the oracle client api is here
and compile the driver.

and in an other hand many of the db managed by sqlapi++ are managed
already by gambas.



 Regards,
 Ricardo

 2010/3/6 Fabien Bodard gambas...@gmail.com

 2010/3/6 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
  Qt libraries have got Oracle connectivity and gambas uses these. How can
 add
  suppor for this in gambas? Other way can be create a C++ component, but
  there is a lot of time I haven't used it. Any tips?

 Gambas use qt libs only for the gui part , for example dbus, mysql,
 and else are directly managed by gambas... so an application with
 another gui can access to these parts(gtk, sdl, console app, cgi)

 if you want to see how to do a database driver look in the gambas
 source in gb.db.mysql/


 
  Thanks in advance.
 
  2010/3/5 Fabien Bodard gambas...@gmail.com
 
  the better way will be to write a driver ... but oracle have a
  proprietary licence
 
  2010/3/5 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
   Hi,
  
   Did somebody connected gambas to an oracle database? Is the only way
  using
   ODBC?
  
   I'm goint to port a windows based application made with MS Access that
  get
   and mix data from MSSQLServer and Oracle to gambas and I don't know if
 is
   possible to do this with gambas.
  
   I allways use gambas as a MySQL frontend and I'm not sure how to do
 this.
  
   I think I can use Oracle dblinks to connect whith main dababase and
  migrate
   data from MSSQLServer to Oracle Server (because Oracle Server is not
   replaceable and MSQLServer yes).
  
   All your ideas are wellcome!
  
   Regards,
   Ricardo Díaz
  
 
 --
   Download Intel#174; Parallel Studio Eval
   Try the new software tools for yourself. Speed compiling, find bugs
   proactively, and fine-tune applications for parallel performance.
   See why Intel Parallel Studio got high marks during beta.
   http://p.sf.net/sfu/intel-sw-dev
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
  
 
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune 

[Gambas-user] CURL: Custom outgoing headers

2010-03-06 Thread Shannon Smith
I'm trying to connect to a server that requires a custom header. I'm using
CURL and Gambas v2.13. I can't find a way to modify the outgoing headers.

Here's my code snippet:

  DIM mySock AS HttpClient
  DIM myResponse AS String
  DIM myRequest AS String
  DIM AuthToken as String

   AuthToken = TESTTOKEN

mySock = NEW HttpClient
myRequest = makeJSON(TextBox1.Text, myParent)

MySock.Async = FALSE
MySock.Timeout = 60
mySock.url = http://www.zenfolio.com/api/1.2/zfapi.asmx;


MySock.Headers = [X-Zenfolio-Token:   AuthToken]
MySock.Post(application/json, myRequest)

-- 

When I send this to a port listener (rather than the zenfolio url above) I
see it is only sending the following:

POST / HTTP/1.1
User-Agent: Gambas Http/1.0
Host: localhost:8080
Accept: */*
Content-Type: application/json
Content-Length: 126

{method: CreateGroup, params: [164023293, {Title: TextBox1,
Caption: TextBox1, CustomReference: }], id: 1}


(Obviously, I changed the host to my localhost to listen).

The Headers are not being sent. Is there a way to send custom headers,
without resorting to creating my own function with gb.net?

Thanks in advance!

Shan
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Val(1,2) = 12

2010-03-06 Thread Jussi Lahtinen
Hi!
Is this planned behaviour?
Val(1,2) = 12

I think it should be NULL or 1.2.

Gambas 3, revision 2664 (old, so maybe already fixed, sorry to bother if so).
Ubuntu 9.10 64bit

Jussi

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Val(1,2) = 12

2010-03-06 Thread Benoît Minisini
 Hi!
 Is this planned behaviour?
 Val(1,2) = 12
 
 I think it should be NULL or 1.2.
 
 Gambas 3, revision 2664 (old, so maybe already fixed, sorry to bother if
 so). Ubuntu 9.10 64bit
 
 Jussi
 

The behaviour of Val() depends on the value of System.Language. What is it?

-- 
Benoît Minisini

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] What are the {} enclosed variables

2010-03-06 Thread Charlie Reinl
Am Samstag, den 06.03.2010, 15:43 +0100 schrieb Benoît Minisini:
  --8 
  Salut,
  
  the answer can be found on gambasdoc at
  
  for Variable Declaration
  http://gambasdoc.org/help/lang/vardecl
  
  or for Local Variable Declaration
  http://gambasdoc.org/help/lang/localdecl
  
  Thanks for you help.
  Charlie
  
 
 Maybe you should have done a specific page, as this syntax can be used for 
 methods declaration, constants declaration, events declaration, arguments... 
 Anywhere an identifier is possible!
 

whats about Special Methods, can I use Sub {_new()} 

Charlie 


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Val(1,2) = 12

2010-03-06 Thread Jussi Lahtinen
en_GB.UTF-8

But is 1,2 = 12 right in any logic?
Also val(1,2,3) = 123

Jussi


2010/3/6 Benoît Minisini gam...@users.sourceforge.net:
 Hi!
 Is this planned behaviour?
 Val(1,2) = 12

 I think it should be NULL or 1.2.

 Gambas 3, revision 2664 (old, so maybe already fixed, sorry to bother if
 so). Ubuntu 9.10 64bit

 Jussi


 The behaviour of Val() depends on the value of System.Language. What is it?

 --
 Benoît Minisini

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] What are the {} enclosed variables

2010-03-06 Thread Charlie Reinl
Am Samstag, den 06.03.2010, 21:22 +0100 schrieb Benoît Minisini:
  Am Samstag, den 06.03.2010, 15:43 +0100 schrieb Benoît Minisini:
--8 
Salut,

the answer can be found on gambasdoc at

for Variable Declaration
http://gambasdoc.org/help/lang/vardecl

or for Local Variable Declaration
http://gambasdoc.org/help/lang/localdecl

Thanks for you help.
Charlie
   
   Maybe you should have done a specific page, as this syntax can be used
   for methods declaration, constants declaration, events declaration,
   arguments... Anywhere an identifier is possible!
  
  whats about Special Methods, can I use Sub {_new()}
  
  Charlie
  
 
 The { } syntax is not related with special methods in any way. What are you 
 thinking about?
 
was just a question, for finishing the documentation (make a link or
not)
-- 
Amicalement
Charlie


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Val(1,2) = 12

2010-03-06 Thread Fabien Bodard
in english system you need to use the . as separator


in french the ,

2010/3/6 Jussi Lahtinen jussi.lahti...@gmail.com:
 en_GB.UTF-8

 But is 1,2 = 12 right in any logic?
 Also val(1,2,3) = 123

 Jussi


 2010/3/6 Benoît Minisini gam...@users.sourceforge.net:
 Hi!
 Is this planned behaviour?
 Val(1,2) = 12

 I think it should be NULL or 1.2.

 Gambas 3, revision 2664 (old, so maybe already fixed, sorry to bother if
 so). Ubuntu 9.10 64bit

 Jussi


 The behaviour of Val() depends on the value of System.Language. What is it?

 --
 Benoît Minisini

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Val(1,2) = 12

2010-03-06 Thread Benoît Minisini
 en_GB.UTF-8
 
 But is 1,2 = 12 right in any logic?
 Also val(1,2,3) = 123
 
 Jussi
 

, is considered as thousand separators, even if they are misplaced, and they 
are simply ignored.

Maybe the interpreter should be more clever...

-- 
Benoît Minisini

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Arrangement in Frame Control

2010-03-06 Thread EA7DFH
Hi

Why it is not implemented the 'Arrangement' property in the Frame control?

I can't find a way to arrange its contents, even if I put Vbox or Hbox
inside...

Any advice?

Regards,

Jesus

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Val(1,2) = 12

2010-03-06 Thread Jussi Lahtinen
OK, that makes sense.
So, what is preferred method to make sure that given string (example
from textbox) is integer number?

Jussi


2010/3/6 Benoît Minisini gam...@users.sourceforge.net:
 en_GB.UTF-8

 But is 1,2 = 12 right in any logic?
 Also val(1,2,3) = 123

 Jussi


 , is considered as thousand separators, even if they are misplaced, and they
 are simply ignored.

 Maybe the interpreter should be more clever...

 --
 Benoît Minisini

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user