POV-Ray : Newsgroups : povray.newusers : File I/O Problems && How to test if an identifier is a Float or a vector : File I/O Problems && How to test if an identifier is a Float or a vector Server Time
7 Sep 2024 01:20:16 EDT (-0400)
  File I/O Problems && How to test if an identifier is a Float or a vector  
From: KalleK
Date: 14 Mar 2002 18:44:05
Message: <3c9135c5@news.povray.org>
Hi All!

All those particelsystems let me try to build my own. Therefore I need to
write vectors to a file...
Well and now, my problem: I write a bunch of vectors to a file. Later I try
to read them in again. But now I get some floats between the vectors. The
file just consists of vectors, though.
Well, I searched the problem with #debug, but I don't know wether to use vstr
or str. I have to distinguish between vectors and floats. Is there a way? I
allways get errors like

Parse Error: Attempted to redefine float identifier as vector identifier.

Or things like this. :-(

Thanks!

cukk


Post a reply to this message

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