Re: at what complexity, a comparison fails ?
- From: Zentrader <zentraders@xxxxxxxxx>
- Date: Mon, 31 Dec 2007 09:14:57 -0800 (PST)
On Dec 31, 2:45 am, Stef Mientki <stef.mien...@xxxxxxxxx> wrote:
So what I need was something like:If A_prev is not declared prior to the if statement, you will get an
if A != A_prev :
... do something
A_prev = A
error when you try to compare the non-existing variable to A. This
code will work, at least for the snippet you provided.
A_prev=""
if A != A_prev :
... do something
A_prev = A
Please cut and paste the exact error message in the future.
.
- References:
- at what complexity, a comparison fails ?
- From: Stef Mientki
- at what complexity, a comparison fails ?
- Prev by Date: dont loose packages
- Next by Date: Re: at what complexity, a comparison fails ?
- Previous by thread: Re: at what complexity, a comparison fails ?
- Next by thread: Re: at what complexity, a comparison fails ?
- Index(es):