Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread Laurent Carlier
Le dimanche 22 mai 2011 01:17:17, Benoît Minisini a écrit : > > Le samedi 21 mai 2011 20:43:07, Benoît Minisini a écrit : > > > I will update the "http://gambasdoc.org/help/doc/package"; information > > > about how Gambas 3 will be packaged for each distribution. > > > > > > Can you tell me, or di

Re: [Gambas-user] printing gambas 3

2011-05-21 Thread Shane Powell
On 22/05/11 00:27, Fabien Bodard wrote: > 2011/5/21 Shane Powell: >> On 21/05/11 00:53, Fabien Bodard wrote: >>> 2011/5/20 Shane Powell: trying to print in gambas 3 using drawtext but the letters are huge what gives ? >>> on gambas3 you need to use the paint class >>> >>> paint.text... >>

Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread Benoît Minisini
> Le samedi 21 mai 2011 20:43:07, Benoît Minisini a écrit : > > I will update the "http://gambasdoc.org/help/doc/package"; information > > about how Gambas 3 will be packaged for each distribution. > > > > Can you tell me, or directly update the page (once I have done it) with > > all the informat

Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread Laurent Carlier
Le samedi 21 mai 2011 20:43:07, Benoît Minisini a écrit : > > I will update the "http://gambasdoc.org/help/doc/package"; information about > how Gambas 3 will be packaged for each distribution. > > Can you tell me, or directly update the page (once I have done it) with all > the information relat

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread John Spikowski
On Sun, 2011-05-22 at 00:38 +0300, Jussi Lahtinen wrote: > Just use Gambas to solve the problem! > > Jussi ScriptBasic is < 500KB soaking wet. ;-) -- What Every C/C++ and Fortran developer Should Know! Read this artic

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread Jussi Lahtinen
Just use Gambas to solve the problem! Jussi On Sun, May 22, 2011 at 00:10, John Spikowski wrote: > On Sat, 2011-05-21 at 22:27 +0300, Jussi Lahtinen wrote: > > Gambas! > > http://www.wolframalpha.com/input/?i=besselj0%285%29 > > > > Jussi > > > > Here is the result of the C version. > > gcc -Wa

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread John Spikowski
On Sat, 2011-05-21 at 22:27 +0300, Jussi Lahtinen wrote: > Gambas! > http://www.wolframalpha.com/input/?i=besselj0%285%29 > > Jussi > Here is the result of the C version. gcc -Wall intro.c -lgslcblas -lgsl -o intro J0(5) = -1.775967713143382642471124199801124632358551025391e-01 For grins I DE

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread John Spikowski
On Sat, 2011-05-21 at 22:27 +0300, Jussi Lahtinen wrote: > Gambas! > http://www.wolframalpha.com/input/?i=besselj0%285%29 > > Jussi Thanks for testing. Now I need to determine if the FORMAT() function is the problem or GTK-Server and the return of a DOUBLE. Good to know these things early in the

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread Jussi Lahtinen
Gambas! http://www.wolframalpha.com/input/?i=besselj0%285%29 Jussi On Sat, May 21, 2011 at 22:24, John Spikowski wrote: > On Sat, 2011-05-21 at 22:04 +0300, Jussi Lahtinen wrote: > > And BTW, Gambas gives more accurate result! > > Gambas; -0.177596771314338 > > Actual; > -0.1775967713143383043

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread John Spikowski
On Sat, 2011-05-21 at 22:04 +0300, Jussi Lahtinen wrote: > And BTW, Gambas gives more accurate result! > Gambas; -0.177596771314338 > Actual;-0.177596771314338304347397013074758711071130356008509128990... > > Jussi > J0(5) = -1.7759700326156879282279987819492816925049e-01 I would be

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread John Spikowski
On Sat, 2011-05-21 at 20:04 +0200, wally wrote: > never met scriba but installed and tried your bessel: > error &H10:The requested module can not be loaded. > seems i should read some docs and load some modules first :) > > wally You can get what you need from here. SB64 http://www.scriptbasic.

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread wally
sorry, messed up John and Jussi :) On Saturday, May 21, 2011 20:48:33 John Spikowski wrote: > On Sat, 2011-05-21 at 20:04 +0200, wally wrote: > > never met scriba but installed and tried your bessel: > > error &H10:The requested module can not be loaded. > > seems i should read some docs and l

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread Jussi Lahtinen
And BTW, Gambas gives more accurate result! Gambas; -0.177596771314338 Actual;-0.177596771314338304347397013074758711071130356008509128990... Jussi On Sat, May 21, 2011 at 22:01, Jussi Lahtinen wrote: > Not me, it's John! > I have no need for other basic, even if I don't need GUI, Gambas i

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread Jussi Lahtinen
Not me, it's John! I have no need for other basic, even if I don't need GUI, Gambas is my option. Why not to do command line programs with Gambas!?? It's much easier and simpler!!! This is all you need in Gambas: Extern gsl_sf_bessel_J0(x As Float) As Float In "libgsl:0" Public Sub Main() Prin

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread John Spikowski
On Sat, 2011-05-21 at 20:04 +0200, wally wrote: > never met scriba but installed and tried your bessel: > error &H10:The requested module can not be loaded. > seems i should read some docs and load some modules first :) > You need the following to run my example. * GTK-Server extension module.

Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread Benoît Minisini
> Le samedi 21 mai 2011 17:21:47, Mauricio Baeza a écrit : > > El sáb, 21-05-2011 a las 14:15 +0200, Benoît Minisini escribió: > > > Hi Gambas fellows, > > > > > > The Gambas 3 RC1 source package is available for download now on the > > > website! > > > > > > - Who said "already" ? > > > > > > T

Re: [Gambas-user] printing gambas 3

2011-05-21 Thread Shane Powell
On 22/05/11 00:27, Fabien Bodard wrote: > 2011/5/21 Shane Powell: >> On 21/05/11 00:53, Fabien Bodard wrote: >>> 2011/5/20 Shane Powell: trying to print in gambas 3 using drawtext but the letters are huge what gives ? >>> on gambas3 you need to use the paint class >>> >>> paint.text... >>

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread wally
On Saturday, May 21, 2011 18:54:03 John Spikowski wrote: > On Sat, 2011-05-21 at 18:27 +0200, wally wrote: > > Jussi, > > > > GSL is grouped in similar functions and i think if one member of a group > > works already, the remaining members should work also with similar code. > > I will try to make

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread John Spikowski
On Sat, 2011-05-21 at 18:27 +0200, wally wrote: > Jussi, > > GSL is grouped in similar functions and i think if one member of a group > works already, the remaining members should work also with similar code. > I will try to make an emsemble of gb3 snippets and see what else is necessary > to cove

Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread Laurent Carlier
Le samedi 21 mai 2011 17:21:47, Mauricio Baeza a écrit : > El sáb, 21-05-2011 a las 14:15 +0200, Benoît Minisini escribió: > > Hi Gambas fellows, > > > > The Gambas 3 RC1 source package is available for download now on the > > website! > > > > - Who said "already" ? > > > > The aim of this first

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread wally
Jussi, GSL is grouped in similar functions and i think if one member of a group works already, the remaining members should work also with similar code. I will try to make an emsemble of gb3 snippets and see what else is necessary to cover at least some main features of GSL. wally On Saturday,

Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread Mauricio Baeza
El sáb, 21-05-2011 a las 14:15 +0200, Benoît Minisini escribió: > Hi Gambas fellows, > > The Gambas 3 RC1 source package is available for download now on the > website! > > - Who said "already" ? > > The aim of this first release candidate is ensuring that Gambas 3 will > be > compiled and pac

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread Jussi Lahtinen
"Free(pData)" is missing from end of the code... Jussi On Sat, May 21, 2011 at 18:13, Jussi Lahtinen wrote: > Wally, use this version instead! > I think I was bit too tired to make sense... this puts the struct to > stream, no stupid hacks needed. > > Jussi > > > > > On Sat, May 21, 2011 at 14:

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread Jussi Lahtinen
Wally, use this version instead! I think I was bit too tired to make sense... this puts the struct to stream, no stupid hacks needed. Jussi On Sat, May 21, 2011 at 14:42, wally wrote: > On Saturday, May 21, 2011 12:35:34 Benoît Minisini wrote: > > > Good morning Jussi, > > > > > > thank you f

Re: [Gambas-user] printing gambas 3

2011-05-21 Thread Fabien Bodard
2011/5/21 Shane Powell : > On 21/05/11 00:53, Fabien Bodard wrote: >> 2011/5/20 Shane Powell: >>> trying to print in gambas 3 using drawtext but the letters are huge >>> what gives ? >> on gambas3 you need to use the paint class >> >> paint.text... >> >> paint generate vectorial and antialiased dra

Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread Laurent Carlier
Le samedi 21 mai 2011 14:24:40, nando a écrit : > I must ask: what is IRL ? > In Real Life ++ -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its n

Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread nando
I must ask: what is IRL ? -- Original Message --- From: Benoît Minisini To: gambas-user@lists.sourceforge.net Sent: Sat, 21 May 2011 14:15:37 +0200 Subject: [Gambas-user] Gambas 3 first release candidate > Hi Gambas fellows, > > The Gambas 3 RC1 source package is available for

[Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread Benoît Minisini
Hi Gambas fellows, The Gambas 3 RC1 source package is available for download now on the website! - Who said "already" ? The aim of this first release candidate is ensuring that Gambas 3 will be compiled and packaged correctly on the most possible distributions. So, packagers, please raise from

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread wally
On Saturday, May 21, 2011 12:35:34 Benoît Minisini wrote: > > Good morning Jussi, > > > > thank you for this solution. > > > > Don't you think, that a "gb.gsl" component would be from general interest > > ? Benoit, what is your opinion ? > > > > wally > > Of course. Any volunteer ? I have eno

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 20:29, Benoît Minisini wrote: >> On 21/05/11 20:02, Benoît Minisini wrote: >> My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread Jussi Lahtinen
I don't think I have enough time to do it by myself, but I'm willing to help. Jussi 2011/5/21 Benoît Minisini > > Good morning Jussi, > > > > thank you for this solution. > > > > Don't you think, that a "gb.gsl" component would be from general interest > ? > > Benoit, what is your opinion ? >

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Benoît Minisini
> On 21/05/11 20:02, Benoît Minisini wrote: > >> My main form has a list view which allows the user to open a new form > >> for each of the items when they double-click on a row, but if the detail > >> form is already open then all I want to do is bring it to the "top". > >> > >> Achieving this is

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 18:23, Caveat wrote: > Hi Bruce > > 1. > I'd suggest you have a startup module that you use to 'manually' open > the forms. Keep track of the detail forms you've opened in a Collection > or array. If you raise an event from the 'main' form when the user > clicks on a detail line, you

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 20:02, Benoît Minisini wrote: >> My main form has a list view which allows the user to open a new form >> for each of the items when they double-click on a row, but if the detail >> form is already open then all I want to do is bring it to the "top". >> >> Achieving this is being fouled

Re: [Gambas-user] Gambas3 and Gnu scientific library

2011-05-21 Thread Benoît Minisini
> Good morning Jussi, > > thank you for this solution. > > Don't you think, that a "gb.gsl" component would be from general interest ? > Benoit, what is your opinion ? > > wally > Of course. Any volunteer ? -- Benoît Minisini -

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Benoît Minisini
> My main form has a list view which allows the user to open a new form > for each of the items when they double-click on a row, but if the detail > form is already open then all I want to do is bring it to the "top". > > Achieving this is being fouled by: > 1) is there a collection/list/whatever

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Caveat
Hi Bruce 1. I'd suggest you have a startup module that you use to 'manually' open the forms. Keep track of the detail forms you've opened in a Collection or array. If you raise an event from the 'main' form when the user clicks on a detail line, you can handle it appropriately in your module...

[Gambas-user] RE Really basic basics

2011-05-21 Thread j h
Thanks guys for your help with my Really basic basics query. That was just the start i needed. Now i am finely getting started! -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel

[Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is bring it to the "top". Achieving this is being fouled by: 1) is there a collection/list/whatever of all the