Subject | Re: [ib-support] inicial value of variable |
---|---|
Author | Nando Dessena |
Post date | 2003-04-09T11:08:11Z |
Ronaldo,
r> What's the inicial value of a variable?
r> I can do this whitout make "SOMA = 0" in the inicial part of code?
r> "SOMA = SOMA + POWER((NOTA_PROVA - MEDIA),2);"
if I was you I would avoid any chance of discovering it the hard way,
i. e. I always initialize everything.
AFAIK variables in stored procedures are not initialized; I seem to
recall even that they keep the value from previous calls to the
stored procedure, but I'm not sure.
Ciao
--
Nando mailto:nandod@...
r> What's the inicial value of a variable?
r> I can do this whitout make "SOMA = 0" in the inicial part of code?
r> "SOMA = SOMA + POWER((NOTA_PROVA - MEDIA),2);"
if I was you I would avoid any chance of discovering it the hard way,
i. e. I always initialize everything.
AFAIK variables in stored procedures are not initialized; I seem to
recall even that they keep the value from previous calls to the
stored procedure, but I'm not sure.
Ciao
--
Nando mailto:nandod@...