[Radiance-general] max lenght of modifier names?

Georg Mischler [email protected]
Mon, 2 Feb 2004 10:24:38 -0500 (EST)


Lars O. Grobe wrote:

> Hi,
>
> what is the maximum length of modifiers in radiance (3.5.x)?


Identifiers appear to be limited to 128 bytes (common/object.h
defines MAXSTR with that value, which is used by getobject() in
common/readobj.c). Maybe there's another limitation somewhere
else in the code, but I don't really expect so.

The other relevant factoid is that almost all non-whitespace
characters are legal in identifiers. Just avoid 'single' and
"double" quotes. Those are reserved because 3.6b needs them
around file paths that contain whitespace characters (eg. to
reference function files, particularly on Windows).


-schorsch

-- 
Georg Mischler  --  simulations developer  --  schorsch at schorsch com
+schorsch.com+  --  lighting design tools  --  http://www.schorsch.com/