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:



Flightgear-devel mailing list

Reply via email to