Ampere K. Hardraade wrote:
I have been experimenting with Nasal lately. The focus of my experiment is to have one Nasal script communicate with another using the property tree. In an attempt of communication, a Nasal script of mine placed the following stream of characters to the property tree: 1, 80, 194, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 0, 6, 207, 128, 174, 239, 0, 0, 127, 0, 0, 6, 207, 128, 174, 239, 0, 0, 0, 0, 0, 20, 0, 2, 0, 15, 0, 0, 0, 0

Unfortunately, the property tree cuts off everything after the first character \0.

My questions are:
Why doesn't the property tree except the \0 character?
Is there any chance that it can accept the \0 character?

I don';t think the property tree cares much, I expect this is a string handling "problem" in Nasal because it is written in C(++).

Erik

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to