[Gambas-user] define data-variable as record

2009-04-25 Thread juelin
hello, it is possible to define a record into gambas? thats mean a variable with different datatypes for example: type recorda as record a as intger b as string c[99] as float endtype dim variablename as recorda kind regards Jürgen -- View this message in context:

Re: [Gambas-user] define data-variable as record

2009-04-25 Thread M0E Lnx
Never heard of such a thing. But maybe a variant type of variable will do what you need On Apr 25, 2009 3:57 AM, juelin juergen.lin...@gmx.de wrote: hello, it is possible to define a record into gambas? thats mean a variable with different datatypes for example: type recorda as record a as

Re: [Gambas-user] define data-variable as record

2009-04-25 Thread Richard Muir-Gladman
Couldn't you just use a class with public attributes? On Sat, 2009-04-25 at 06:17 -0500, M0E Lnx wrote: Never heard of such a thing. But maybe a variant type of variable will do what you need On Apr 25, 2009 3:57 AM, juelin juergen.lin...@gmx.de wrote: hello, it is possible to define

[Gambas-user] re type recorda as record

2009-04-25 Thread richard terry
Hi Juergen, I maybe way off the mark, but are you sure you couldnt just use a class? in which you do this.  public a as integer public b as string public c as float [] This would be in its own file under the classes in the IDE say cRecordA To access this from another form you would do

Re: [Gambas-user] define data-variable as record

2009-04-25 Thread Werner
juelin wrote: hello, it is possible to define a record into gambas? thats mean a variable with different datatypes for example: type recorda as record a as intger b as string c[99] as float endtype dim variablename as recorda kind regards Jürgen Yes of course. Example:

Re: [Gambas-user] define data-variable as record

2009-04-25 Thread Jeff
Same as the other answers - define a class. It's a good habit to get into to write accessor methods (set and get) or use properties rather than public variables. On Sat, 2009-04-25 at 01:55 -0700, juelin wrote: hello, it is possible to define a record into gambas? thats mean a variable with

[Gambas-user] Signal 11 with Format$(123,00)

2009-04-25 Thread Gaël Le Hec'H
hi all,on gambas2-2.11.1 on fedora 10 if I type on the console : ? format$(123,00) I get a beautiful Signal 11 ;-) Am I alone ? Gaël Le Hec'H -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new

Re: [Gambas-user] Gambas server pages

2009-04-25 Thread Jesus Guardon
I'm trying to get server pages to work, but I can't. My scripts doesn't work because gbw2 is not found in my system. Executing the script in console gives: je...@jesus:~$ ./test.gbs /usr/bin/env: gbw2: No existe el fichero ó directorio je...@jesus:~$ Using Ubuntu 8.10 - Gambas2 2.12 (Compiled

Re: [Gambas-user] Signal 11 with Format$(123,00)

2009-04-25 Thread Benoît Minisini
hi all,on gambas2-2.11.1 on fedora 10 if I type on the console : ? format$(123,00) I get a beautiful Signal 11 ;-) Am I alone ? Gaël Le Hec'H The bug is fixed in revision #1934. Don't forget to put double quotes around your format string! Regards, -- Benoît

[Gambas-user] Creating a menu at runtime.

2009-04-25 Thread richard terry
Is it possible to create/add to a menu at runtime. If so, I wonder if anyone could give me an example. Regards Richard -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign

Re: [Gambas-user] Creating a menu at runtime.(Solved sort of)

2009-04-25 Thread richard terry
On Sun, 26 Apr 2009 12:22:51 pm richard terry wrote: Is it possible to create/add to a menu at runtime. If so, I wonder if anyone could give me an example. Regards Richard --- --- Crystal Reports #45; New Free Runtime

Re: [Gambas-user] Gambas server pages

2009-04-25 Thread Steven James Drinnan
Create a symbolic link like this Code: Open your terminal: su ln -s /usr/bin/gbs2 /usr/bin/gbw2 this will create the necessary file. To test run your script through a terminal. Then you just need to configure your web server to recognize gbw2 extensions. (Or just use cgi) On Sat,

[Gambas-user] how do I stop getting mail from the mailing list?

2009-04-25 Thread arbelmichal
Hi I don't wont to get more mails, It blocks my mail... so how can I stop getting them? Arbel -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited