Microsoft
Software
Hardware
Network
Question : using same variable name multiple times
generally, is it safe to keep reusing same variable other contexts.
for example
declare abc number;
begin
........
code #1
end;
declare abc number;
begin
........
code #2
end;
will the end of the first block refresh/clear out the variable abc and keep it usable for the second round? is this good programming practice?
thanks
Answer : using same variable name multiple times
Hi,
Yes, the two variables are in different blocks, so they are different.
Regards,
Franck.
Random Solutions
Comparison Netgear ReadyNAS vs. Buffalo Terastation
css conditional statements for different browsers AND different resolutions?
Access 2007 - Query Question
Silverlight 4 UI Events
Logging in as domain user outside of domain
Enteprise Application Documentation Application
Sybase Database truncate table issues
Group and ungroup a password-protected sheet?
SQL 2k Database restore using only MDF flies
Design Review (Three Designs) for one website.