Re: [Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-22 Thread Melchior FRANZ
* gerard robin -- Saturday 11 October 2008: How can I pack several pieces of information into one variable? You can use single bits of an integer, or even a double. I've just added some simple bits functions for that. On the sender side: var n = 0; n = bits.switch(n, 0, some_value); n =

Re: [Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-22 Thread Melchior FRANZ
* Melchior FRANZ -- Wednesday 22 October 2008: var n = base.getValue(sim/multiplay/generic/int); Whoops ... var n = base.getNode(sim/multiplay/generic/int).getValue(); m. :-) - This SF.Net email is sponsored by the

Re: [Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-11 Thread gerard robin
On samedi 11 octobre 2008, Melchior FRANZ wrote: * gerard robin -- Saturday 11 October 2008: Does the number of float n=x alias= limited ? Adding more of them is no problem, if we need them. I just didn't want to add loads without reason. But it's also a good idea to use them carefully.

Re: [Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-11 Thread gerard robin
On samedi 11 octobre 2008, Rob Shearman, Jr. wrote: How can I pack several pieces of information into one variable? Binary -- Decimal conversion technique would allow three on/off settings to be stored in a decimal number valued 0-7. Switch one has a value of 1. Switch two has a value of

Re: [Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-11 Thread Rob Shearman, Jr.
How can I pack several pieces of information into one variable? Binary -- Decimal conversion technique would allow three on/off settings to be stored in a decimal number valued 0-7. Switch one has a value of 1. Switch two has a value of 2. Switch three has a value of 4. Add up the three

[Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-10 Thread gerard robin
Hello, If i define more than 10 (over than n=9) float n=x alias= in property sim/multiplay/generic/ for instance float n=10 alias= The value of that 10 is not transmitted to Multiplay . Does the number of float n=x alias= limited ? Regards -- Gérard

Re: [Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-10 Thread Csaba Halász
On Sat, Oct 11, 2008 at 1:18 AM, gerard robin [EMAIL PROTECTED] wrote: If i define more than 10 (over than n=9) float n=x alias= in property sim/multiplay/generic/ for instance float n=10 alias= The value of that 10 is not transmitted to Multiplay . Does the number of float n=x

Re: [Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-10 Thread gerard robin
On samedi 11 octobre 2008, Csaba Halász wrote: On Sat, Oct 11, 2008 at 1:18 AM, gerard robin [EMAIL PROTECTED] wrote: If i define more than 10 (over than n=9) float n=x alias= in property sim/multiplay/generic/ for instance float n=10 alias= The value of that 10 is not

Re: [Flightgear-devel] sim/multiplay/generic/float how many ?

2008-10-10 Thread Melchior FRANZ
* gerard robin -- Saturday 11 October 2008: Does the number of float n=x alias= limited ? Adding more of them is no problem, if we need them. I just didn't want to add loads without reason. But it's also a good idea to use them carefully. One can often pack several pieces of information into