POV-Ray : Newsgroups : povray.advanced-users : Reading directly into an Array : Reading directly into an Array Server Time
2 Nov 2024 05:22:42 EDT (-0400)
  Reading directly into an Array  
From: David Vincent-Jones
Date: 19 Mar 2000 17:05:02
Message: <38d54f0e@news.povray.org>
I have an ASCII file that I wish to read into an array.
File is 117 records separated by CR/LF and
each record has 6 text elements separated by a comma.

#fopen SymFile "c:\pf\bin\sym.asc" read
#declare Syms=array [117] [6] { #fread (SymFile, defined)}

Can somebody steer me in the right direction..

David


Post a reply to this message

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