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
When does a DBMS become necessary/very useful to use in conjunction with ArcGIS? (rather than doing everything with ArcGIS)
Failed to allocate port error when configuring EM (Oracle 11g)
How do I remove Office XP and 2003 using Msizap.exe from a command line?
Delphi - Load Strings from RCData?
Look Up in Query
APEX Icons
Certain websites time out on connecting
Script to add user to multiple PC's
log4c usage: best practice
Where do I control calendar Sync Settings on BPS?