At 20:41 02-09-01, Jeroen van Wolffelaar wrote:
>Hi,
>
>I'm sure there's some simple (stupid?) error, which an experienced
>C-programmer can see immediately... But I don't.
>
> > You're missing a variable name (you only put a type), and the line is not
> > in the beginning of a code block (there's a statement before it).
>
>php_randgen_entry is (supposed to be) a type.
>php_randgen_entries is (supposed to be) a variable.
>
>php_randgen_entries[3] = { ... };
>is (supposed to be) a statement.

Ah, I thought that you meant to declare a variable here.  The problem is 
different then - C doesn't support assigning to multiple struct members at 
once.  You can only do that when you initialize a variable.

Zeev


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to