Gerard Robin wrote:
> Something wrong ?
>
> --prop:/nasal/local/script=<![CDATA[  INIT = func {  setprop
> ("/sim/rendering/clouds3d-cache-size", 4096);  }  ]]>
>
> nasal does give error message:  Nasal parse error: parse error in /nasal
> [0]/local[0], line 1

The --prop argument is not an XML parser.  Just pass the literal
script text as the value, no CDATA munging is needed or legal.

Note also that the script you list above is a noop.  It assigns a INIT
function as a local variable but never calls it.  If you want to set
the /sim/rendering/clouds3d-cache-size to 4096, what is wrong with:

   --prop:/sim/rendering/clouds3d-cache-size=4096

Andy

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

Reply via email to