Results 1 to 2 of 2

Thread: classes

  1. #1
    Join Date
    Dec 1969

    Default classes

    Does anyone use vbscript classes to organize their ASP code?

  2. #2
    Join Date
    Dec 1969

    Default RE: classes

    Yeah I&#039;ve got a class that generates a calendar, properties include formats &#060;various pieces&#062;, date, show calendar controls etc.<BR><BR>i figured this was easier than a function as i wanted to be able to display an annual calendar so I just set up the object once, change the date 12 times and generate monthly cal for each.<BR><BR>I think if you have something that is used a lot and takes a lot of inputs, but inputs relatively static once set classes make a lot of sense. They also make it easier to error check inputs etc as each property can be handled seperately and code is cleaner.<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