POV-Ray : Newsgroups : povray.newusers : Problem with smokegen : Re: Problem with smokegen Server Time
30 Jul 2024 10:14:11 EDT (-0400)
  Re: Problem with smokegen  
From: Christopher James Huff
Date: 24 May 2004 14:43:53
Message: <cjameshuff-6AF7ED.13442024052004@news.povray.org>
In article <web.40b17d02b7e8ba459efe766b0@news.povray.org>,
 "mitcho" <mpa### [at] mailusydeduau> wrote:

> File: C:Program FilesPOV-RayINCLUDEsmokegen.mry  Line: 289
> #read (LmntFile,ecount
> 
> ,position,size <----ERROR
> 
> Parse Error: Expected 'undeclared identifier', size found instead

Ugh...that's what you get when the author uses lower-case variable names.

The word "size" is now a keyword in the facets pattern, and can't be 
used as a variable name. Change all occurrences to "Size", and it'll 
work fine...unless there are other conflicts. This is exactly why you 
should always put at least one upper-case letter in variable 
names...keywords will always be lower-case.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.