POV-Ray : Newsgroups : povray.general : using a charact as #macro paramater? : Re: using a charact as #macro paramater? Server Time
7 Aug 2024 15:16:16 EDT (-0400)
  Re: using a charact as #macro paramater?  
From: Steve
Date: 27 Aug 2001 12:35:46
Message: <slrn9okqqs.ti2.steve@zero-pps.localdomain>
On 27 Aug 2001 11:31:15 -0400, Ron Parker wrote:
>On 27 Aug 2001 11:19:42 -0400, Steve wrote:
>>
>>       #switch (XFile <----ERROR
>>
>>/home/sjlen/pov/blchess.pov:249: error: numeric expression expected but string
>>identifier found instead.
>
>The problem isn't the macro, it's the switch.  Switches don't work with
>strings.  You can either use a chain of #if...#else #if...#else statements,
>or you can switch to using numbers instead of letters.

Thanks Ron I'll change it to if's 

--
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

  4:45pm  up 44 days, 18:50,  2 users,  load average: 1.00, 1.01, 1.00


Post a reply to this message

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