POV-Ray : Newsgroups : povray.binaries.images : Ping Pong : Re: Ping Pong Server Time
2 Aug 2024 02:25:18 EDT (-0400)
  Re: Ping Pong  
From: alphaQuad
Date: 22 Mar 2008 18:15:00
Message: <web.47e5917841aa233d1b8ed7370@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> making 3000 star cat with more data but running into typecast issues.
>
> #declare catalog2 = array[1][7] {
> { "5.1","23","2.606","41.757778","A3","107.18092300280163","And 02" }
> }
> works. typecast (float)string, then ok but I am not finding that.
>
> #declare catalog = array[1][7] {
> { 5.1,23,2.606,41.757778,"A3",107.18092300280163,"And 02" }
> }
> fails of course.
>
> whats the solution besides 2 arrays, a string and float array?

val(s)


Post a reply to this message

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