[A89] Re: c trouble


[Prev][Next][Index][Thread]

[A89] Re: c trouble



Yes, it looks like an identifier conflict. But size isn't an issue, as char foo[][] is the same as char *foo[] or char **foo; it's a pointer to an array of pointers to characters. If the size of a pointer isn't known, delete your compiler.
-------Original Message-------
From: Sebastian Reichelt <SebastianR@gmx.de>
Sent: 09/02/03 12:39 PM
To: assembly-89@lists.ticalc.org
Subject: [A89] Re: c trouble

> 
> >  strcpy(buffer, option[option - 1]);

Shouldn't that be option_str[option - 1]?

But it won't work either. In the function parameter, the compiler
obviously needs to know the size of each item, but not necessarily the
number of items, so it can advance from one to the next.

-- 
Sebastian Reichelt

> 



Follow-Ups: