2011/1/11 andy pugh <[email protected]>:
> On 11 January 2011 09:09, Viesturs Lācis <[email protected]> wrote:
>
>> Thanks!!! I had some problem with the line  if (TYPE(t) = 0), when I
>> tried to sudo comp --install genserkins.c, but now it is o.k. for this
>> line.
>
> To check the value of a variable in C you use ==, to set the value you use =.

Thanks for the explanation! I already noticed that all the difference
is in == vs =, but I did not know, what is the meaning.

> Be very careful with all-caps things in C, they rarely mean what they
> look to mean.

I just "copied" the way it is written from the remaining D-H
parameters - in the same function they also are written with capital
letters.

> Bear in mind that as far as the compiler is concerned the header file
> is just pasted into the top of your source code file. That means that
> missed brackets or semicolons or braces in the header file will lead
> to wierd compiler errors being reported in the .c file (or even more
> confusingly in the .comp file).

I thought of that and have double checked - newly added lines for
theta and type parameters completely match the lines for a, alpha and
d parameters.

> To include the genserkins.h file in your comp file use
> #include <genserkins.h>
> immediately after the ;; in your .comp file.

Ok, then it is already there, since I haven't changed that.

Where else should I look to find out, why it does not like theta and
type default values?

Viesturs

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to