Ticket #644 ( Closed )

Short Description Local Variable's confussed across templates
Entered By: willchitwood@pointpathbank.com When: 2000-12-06 17:11:25 Build: 2.0.9K
Categories Type: Problem   Department: Product   Category: Variable Declaration
Description
Using a TEDECLARE ROW I created a var that I thought was 
suppossed to be exclusive to just that template when not 
referenced along with the template name.  I compiled with 
no errors but when I accessed the variable via a ColdFusion 
Query the trace log showed that both vairables (the one 
dealing with the template I was referencing and the one 
from a foriegn tmeplate) were accessed.  The later 
overwrote the previous and therefore I recieved no output.  
I thought I should be able to create a variable with any 
name b/c it was template specific and not global.
Jeff Urbanczyk of iE may be able to explain this situation 
better.
Append By: WindSurfer  When: 2000-12-06 17:20:26  New Status: Pending Customer
Comment
Sorry for the confusion--but it actually works that way for 
the ROW, SCREENMAP, DBSELECT and DBCOMMAND declare types.

While variables follow a more modular naming scheme, the 
namespaces internally were such that these object types have 
a global namespace...so whatever you named your ROW in one 
place is in fact a global name and cannot have local 
varieties.