POV-Ray : Newsgroups : povray.general : #read limits for comma separated variables Server Time
30 Jul 2024 12:25:25 EDT (-0400)
  #read limits for comma separated variables (Message 1 to 6 of 6)  
From: RC
Subject: #read limits for comma separated variables
Date: 4 Mar 2009 17:00:00
Message: <web.49aef96d88baadd2e1acfc5e0@news.povray.org>
Hello,

Does anyone know if there is a limit to the number of comma separated variables
you can read from one line? I'm working with ten right now and having some
issues.

Cheers!


Post a reply to this message

From: Charles C
Subject: Re: #read limits for comma separated variables
Date: 4 Mar 2009 20:00:01
Message: <web.49af232326140c04cac4259f0@news.povray.org>
AFAIK white space is white space and it's just the commas that matter here.
Also #read only works for literals.
Charles


Post a reply to this message

From: Charles C
Subject: Re: #read limits for comma separated variables
Date: 4 Mar 2009 20:00:05
Message: <web.49af23f526140c04cac4259f0@news.povray.org>
Oh sorry, I think I mis-understood what you were asking...  No I don't know how
many you can put into a single #read statement. :)
Charles


Post a reply to this message

From: clipka
Subject: Re: #read limits for comma separated variables
Date: 5 Mar 2009 04:55:02
Message: <web.49afa11426140c04f567c3de0@news.povray.org>
"RC" <nomail@nomail> wrote:
> Does anyone know if there is a limit to the number of comma separated variables
> you can read from one line? I'm working with ten right now and having some
> issues.

I'd be surprised (I'd instead expect some characters-per-line limit instead).

In any case, ten variables doesn't seem an uncommonly high number to me...


Post a reply to this message

From: some yahoo
Subject: Re: #read limits for comma separated variables
Date: 7 Mar 2009 15:08:02
Message: <49b2d422$1@news.povray.org>
I haven't used #read, but in my experience the most common things to look for are:

commas instead of decimal points or vice versa
mismatched quote marks

And rarely, if the source file has been transferred between windows and linux, look
for CRLF pairs that are goofed up.

Can you post the offending line so we might criticize it harshly?

RC wrote:
> Hello,
> 
> Does anyone know if there is a limit to the number of comma separated variables
> you can read from one line? I'm working with ten right now and having some
> issues.
> 
> Cheers!
> 
>


Post a reply to this message

From: Warp
Subject: Re: #read limits for comma separated variables
Date: 7 Mar 2009 15:26:21
Message: <49b2d86d@news.povray.org>
some_yahoo <no### [at] waycom> wrote:
> And rarely, if the source file has been transferred between windows and linux, look
for CRLF pairs that are goofed up.

  AFAIK it doesn't make any difference for povray which type of newlines
are used in the file (regardless of which platform povray is being
running in).

-- 
                                                          - Warp


Post a reply to this message

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