Re: [Newbie] VLIST

From: Welcor (welcor@dune.net)
Date: 02/27/02


----- Original Message -----
From: "John Martira" <JohnM@COMPUTOPIA.COM>


> >>This is my code for the vlist command...
> >>modified from the one I found in the contrib.
>
> (snip)
>
> Thank you Kras, for the revised vlist code.
> One problem tho, when I removed the shop
> segments and dropped it in, during the
> compile I received an error that makes no
> sense.
>
> It is reporting a parse error before void
> which it claims is 2 lines into the
> do_echo command which immediately follows my
> do_vlist.
>
> There isn't a void even close to this indicated line.
> Am I simply having a slip of the mind or is there
> something else going on?

ACMD(do_echo) is translated into void do_echo(..) by the
preprocessor. Your parse error is happening because of unmatched
braces. Make sure the }'s are aligned, that makes it much easier
to check.

Welcor

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT