locked
Same Variable Names across multiple vbhtml sites OK? RRS feed

  • Question

  • User1149660278 posted

    Hi I have multiple VBHTML Sites and in the code section, often use the same variable names across the sites for example

    Product.vbhtml

    @Code
    Dim ProductName as String
    @Code

    Sales.vbhtml

    @Code
    Dim ProductName as String
    @Code

    Is this OK or can it cause a conflict on the server?

    Saturday, April 30, 2016 3:29 PM

Answers

  • User1853794821 posted

    it is OK

    The only time you get in trouble is if you use the same name for different purposes within the same vbhtml page/file.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, April 30, 2016 4:14 PM