MySQLModule????

Andrew Csillag drew.csillag at starmedia.net
Fri Mar 17 21:09:29 CET 2000


Dana Booth wrote:
> 
> What am I doing wrong????
> 
> Okay, a couple of weeks ago, I tried to build the MySQLModule on an OpenBSD
> (2.5) computer. I get errors, "lvalue required" in lines 384, 1125, and 1147
> of the source. I tried to build it on a Linux (Mandrake 6.0) and received
> the very same error. Today, I tried to build it on Windows (Visual C++), and
> the very same errors.
> 
> I can get by in C, and I looked at the source, but not having done it, it's
> difficult to debug. I can't be the only one to have this happen! Please, if
> one of you know what I'm doing wrong, tell me!
> 
You're doing nothing wrong.  Remove the offending & before the
mysql_fetch_field_direct on each of those lines and you should be ok.

-- 
print(lambda(q,p):'pmt:$%0.2f'%(q*p/(p-1)))((lambda(a,r,n),t:(a*r/
t,pow(1+r/t,n*12)))(map(input,('amt:','%rate:','years:')),1200.0))




More information about the Python-list mailing list