Subject Re: [ib-support] inicial value of variable
Author Nando Dessena
Lele,

L> I keep the habit of doing

L> myVar = NULL;
L> SELECT ... FROM ... INTO :myVar;
L> IF (myVar IS NULL) THEN ...

me too, and that won't change very soon. :-)
Variable initialization has more to do with clean coding than
correctness.

I just wonder where I took that line about variables keeping values
from previous invocations from; I'm sure I've read it somewhere but can't
remember any details (and no, Helen, I certainly wasn't arguing about
the scope of local variables ;-)).

Ciao
--
Nando mailto:nandod@...