* 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 =
* 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
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.
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
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
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
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
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
* 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
9 matches
Mail list logo