Could object conflict with a variable na

Results 1 to 2 of 2

Thread: Could object conflict with a variable na

  1. #1
    Giovanni Flammia Guest

    Default Could object conflict with a variable na

    The article about ASP+ introduces the Page object ( We have written many ASP pages which define a script variable named Page, as follows:<BR>&#060;%<BR>Class PageProperties<BR>Public OneProperty<BR>end Class<BR>Set Page = new PageProperties<BR>Page.OneProperty = "One Value"<BR>%&#062;<BR>Do we have to replace our variable named "Page" with some<BR>other one, (e.,g., "myPage") or are there any other ways (e.g., namespaces) to avoid conflicts when migrating from ASP to ASP+?<BR><BR>Thanks,<BR><BR>Giovanni Flammia

  2. #2
    Doug Seven Guest

    Default RE: Could object conflict with a variabl

    You will have to rename the variable. The Page object is part of every ASP+ component. I ran into the same problem migrating where I had a variable "Error". ASP+ didn&#039t like that at all.<BR><BR>Doug Seven<BR>CodeJunkies.Net /<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts