POV-Ray : Newsgroups : povray.general : concat for variable identifier? : Re: concat for variable identifier? Server Time
19 Nov 2024 11:42:18 EST (-0500)
  Re: concat for variable identifier?  
From: Christoph Hormann
Date: 3 Mar 2002 11:43:49
Message: <3C8252C0.A15339EA@gmx.de>
"Sebastian H." wrote:
> 
> [...]
> 
> Inside the macro should have access to OBJ_axis or OBJ_angle so I need a
>   function like *concat (OBJ, "_axis")* that does not return a string
> but the variable identifier.
> 
> Is this anyhow possible in POV?
> 

Two possibilities:

- use arrays for your data instead of single variables
- use the Parse_String() macro (Povray 3.5, strings.inc)

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 21 Feb. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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