POV-Ray : Newsgroups : povray.general : Re: Type checking : Re: Type checking Server Time
18 Nov 2024 23:28:05 EST (-0500)
  Re: Type checking  
From: Thorsten Froehlich
Date: 9 Jul 2002 08:56:36
Message: <3d2add84@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> On Tue, 9 Jul 2002 08:27:31 -0400, "cadman"
> <REM### [at] povraycouk> wrote:
>> The docs state that when using a #read directive into an already #declare'd
>> variable, POV will perform type checking.  I.e. I read that to mean that the
>> following shouldn't work:
>> -----------------------------------------------
>> #declare MyString="Hi mom!"
>> #fopen f "MyFile.txt" read
>> #read (f,MyString)
>> -----------------------------------------------
>> if Myfile.txt contains the text "<1,1,1>" (with no quotes)
>> But it does.  Is this a bug, or something I'm doing wrong?
>
> Can't verify this currently but perhaps this is connected with type checking
> when array entry is readed since you can't have different types in one array ?
>
> ABX

In any case, this is the wrong group for this discussion.  This group is for
discussion of the POV-Ray source code, not the documentation or usage of
POV-Ray.

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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