POV-Ray : Newsgroups : povray.general : er...huh? : Re: er...huh? Server Time
5 Aug 2024 04:13:13 EDT (-0400)
  Re: er...huh?  
From: Timothy R  Cook
Date: 15 Dec 2002 03:24:16
Message: <3dfc3c30@news.povray.org>
Mike Williams wrote:
> If you want a series of characters that contain spaces and/or end-of-
> line characters to be considered as a single field, then you should 
> enclose it in quotes and it will be read as a string (you can't get it 
> to read it as a number because numbers can't contain such characters).

the problem was the lack of comma at end of line; see end note

> Note 1: You can't do that with a string.

k

> Note 2: You had n=n+2, which only reads half the points.

note the pointx and pointy being 5+n and 6+n, meaning if i
only increase n by 1 i'd get duplicate numbers

> Your data should use only commas as delimiters, like this. 
> Note, in particular, that commas are needed at the ends of lines.

hmm ok that was the primary cause of the problem

pushing onwards...

-- 
Tim Cook
http://empyrean.scifi-fantasy.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

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