|
|
POV-Ray Version 3.1e.watcom.win32 on Windows NT 4.0 SP 4.
The String Functions topic in the POV-Ray 3.1 Documentation help file
includes the sentence:
> For example substr("ABCDEFGHI",4,2) evaluates to the string "EF".
This is not so. It evaluates to "DE". The distinction is important
because it establishes the meaning of the word "position" in the
write-up.
Similarly, the next sentence,
> If P+L>strlen(S) an error occurs.
should read "If P+L>=strlen(S) ..."
Post a reply to this message
|
|
|
|
Philip Sewell wrote:
> POV-Ray Version 3.1e.watcom.win32 on Windows NT 4.0 SP 4.
>
> The String Functions topic in the POV-Ray 3.1 Documentation help file
> includes the sentence:
>
> > For example substr("ABCDEFGHI",4,2) evaluates to the string "EF".
>
> This is not so. It evaluates to "DE". The distinction is important
> because it establishes the meaning of the word "position" in the
> write-up.
This next comment is in error. The help file text is fine as is.
>
>
> Similarly, the next sentence,
>
> > If P+L>strlen(S) an error occurs.
>
> should read "If P+L>=strlen(S) ..."
Post a reply to this message
|
|