Re: [Gambas-user] Gambas2-Writing properties of classes to file.

2010-06-10 Thread Richard
On Thursday 10 June 2010 21:02:08 Richard wrote: > Greetings to the list on a fine warm sunny evening in Belfast, > > But here I am, indoors, trying to find an "easy" way to make some data more > persistent. > > In a small app I am writing for my brother I have a number of classes > designed to hol

Re: [Gambas-user] Optional and Param (Gambas 3)

2010-06-10 Thread Benoît Minisini
> On 10/06/10 23:37, Jussi Lahtinen wrote: > > I'm used to do this kind of things like this: > > > > Public Sub _new(Optional x As Float = -1, Optional y As Float = -1 > > ,Optional z As Float = -1) > > > > If x <> -1 Then v[0] = x > > If y <> -1 Then v[1] = y > > If z <> -1 Then v[2] = z > >

[Gambas-user] Gambas2-Writing properties of classes to file.

2010-06-10 Thread Richard
Greetings to the list on a fine warm sunny evening in Belfast, But here I am, indoors, trying to find an "easy" way to make some data more persistent. In a small app I am writing for my brother I have a number of classes designed to hold information about video and audio clips. Some of the dat

Re: [Gambas-user] Optional and Param (Gambas 3)

2010-06-10 Thread Werner
On 10/06/10 23:37, Jussi Lahtinen wrote: > I'm used to do this kind of things like this: > > Public Sub _new(Optional x As Float = -1, Optional y As Float = -1 > ,Optional z As Float = -1) > If x <> -1 Then v[0] = x > If y <> -1 Then v[1] = y > If z <> -1 Then v[2] = z > End > > > Jussi > Tha

Re: [Gambas-user] Optional and Param (Gambas 3)

2010-06-10 Thread Jussi Lahtinen
I'm used to do this kind of things like this: Public Sub _new(Optional x As Float = -1, Optional y As Float = -1 ,Optional z As Float = -1) If x <> -1 Then v[0] = x If y <> -1 Then v[1] = y If z <> -1 Then v[2] = z End Jussi 2010/6/10 Benoît Minisini : >> On 10/06/10 15:38, Charlie Reinl wr

Re: [Gambas-user] Signal 11, when calling external function

2010-06-10 Thread Jussi Lahtinen
I changed code to (makes very much more sense to me): void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31]) But it still doesn't work with Gambas3. With Gambas2 everything is OK. Jussi On Thu, Jun 10, 2010 at 18:18, Jussi Lahtinen wrote: > Function declaration is from example code I found, I

Re: [Gambas-user] Signal 11, when calling external function

2010-06-10 Thread Jussi Lahtinen
Function declaration is from example code I found, I don't understand logic of that notation. BUT it works with Gambas2, and it worked fine with earlier revision of Gambas3. I'm not saying that it makes it correct way pass 2d arrays, but makes me puzzled... Jussi 2010/6/10 Benoît Minisini : >> H

Re: [Gambas-user] Signal 11, when calling external function

2010-06-10 Thread Benoît Minisini
> Hi! > I have use external function for certain tasks successfully, but I run > into problems with recent revision of Gambas. > > In Gambas: > Public Extern Aja_Mtrx(pk0 As Pointer, pk1 As Pointer, pk2 As Pointer) > In "libMlpp" > > Public k0 As New Integer[31, 31] > Public k1 As New Integer[31,

Re: [Gambas-user] Optional and Param (Gambas 3)

2010-06-10 Thread Benoît Minisini
> On 10/06/10 15:38, Charlie Reinl wrote: > > Am Donnerstag, den 10.06.2010, 14:37 +0800 schrieb Werner: > >> I'm trying to implement a simple class that creates a Float[3] array. I > >> would like to give the user of the class an optional opportunity to fill > >> the array with data when the class

Re: [Gambas-user] Gambas2+andlinux in windows

2010-06-10 Thread Doriano Blengino
admhards...@yahoo.ca ha scritto: > Hi > I installed gambas2 in windows trought andlinux, but I wanna to conect my > database remote to my web server, but I need to change ip address to > andlinux, somebody have or had this experience before? My pc have access to > internet because have a ip in t

[Gambas-user] Gambas2+andlinux in windows

2010-06-10 Thread admhardsoft
Hi I installed gambas2 in windows trought andlinux, but I wanna to conect my database remote to my web server, but I need to change ip address to andlinux, somebody have or had this experience before? My pc have access to internet because have a ip in the same network but andlinux have other one

Re: [Gambas-user] Video

2010-06-10 Thread Charlie Reinl
Am Donnerstag, den 10.06.2010, 17:57 +0800 schrieb Mike: > Have tried the examples and Gambas hangs when the picturebox call is made I > am running on Ubuntu 10.xx any other examples and can I remove the write > protection off the example files. > > Regards > Mike > ---8<

Re: [Gambas-user] Video

2010-06-10 Thread Mike
Have tried the examples and Gambas hangs when the picturebox call is made I am running on Ubuntu 10.xx any other examples and can I remove the write protection off the example files. Regards Mike -Original Message- From: Fabien Bodard [mailto:gambas...@gmail.com] Sent: Thursday, 10 June

Re: [Gambas-user] Optional and Param (Gambas 3)

2010-06-10 Thread Werner
On 10/06/10 15:38, Charlie Reinl wrote: > Am Donnerstag, den 10.06.2010, 14:37 +0800 schrieb Werner: > >> I'm trying to implement a simple class that creates a Float[3] array. I >> would like to give the user of the class an optional opportunity to fill >> the array with data when the class is i

Re: [Gambas-user] Optional and Param (Gambas 3)

2010-06-10 Thread Charlie Reinl
Am Donnerstag, den 10.06.2010, 14:37 +0800 schrieb Werner: > I'm trying to implement a simple class that creates a Float[3] array. I > would like to give the user of the class an optional opportunity to fill > the array with data when the class is instantiated. > >