|
 |
Hi All
I've written a small macro to place chess pieces, I'm trying to call
the macro like this:
object{ place_piece(Black_Pawn, H, 2, 0) }
I've also tried
object{ place_piece(Black_Pawn, "H", 2, 0) }
But keep getting error messages, I've changed the
values in the switch evaluation to include the quote
marks etc but nothing seems to be working.
The macro doesn't seem to be able to take a character as a
paramater.
I'm getting errors like:
Parsing................................union{
object{place_piece(Black_Pawn, "H", 2, 0)
object{Chess_Piece
#switch (XFile <----ERROR
/home/sjlen/pov/blchess.pov:249: error: numeric expression expected but string
identifier found instead.
Any help gratefully receive.
--
Cheers
Steve email mailto:ste### [at] zeropps uklinux net
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
4:13pm up 44 days, 18:17, 2 users, load average: 1.14, 1.13, 1.04
Post a reply to this message
|
 |