When you do <%= SomeFunction() %>, it's the same as doing <%= this.SomeFunction() %> (or whatever it is on VB.NET - my maybe) . Note the "this" keyword referring to. The "this" is optional, and it refers to the current object.
----- Original Message ----- From: Jeffry Houser <[EMAIL PROTECTED]> Date: Thursday, September 30, 2004 12:32 pm Subject: Re: RE: [CFCDev] Function Libraries > > Look at this code: > > <script runat="server"> > Function SomeFunction() as string > return "test" > End Function > </script> > > <%=SomeFunction()%> > > > It uses a function; and there is no explicit class declaration. > As was stated earlier in this thread (by both yourself and > Philip), the > function is added to the page object during compilation. So, > while it > appears to be a stand-alone function it actually isn't. > > Since the class is created "automatically" (during compilation) > I would > say that is implicit class creation. > > Maybe we should move to the house of fusion .net list? > > > At 01:45 PM 9/30/2004, you wrote: > >The mere fact that you have a ASP.NET file means that you've > explicitly > >defined the class. > > > >Why would you ever implicitly define a class? > > > >----- Original Message ----- > >From: Jeffry Houser <[EMAIL PROTECTED]> > >Date: Thursday, September 30, 2004 11:34 am > >Subject: Re: RE: [CFCDev] Function Libraries > > > > > > > > At 12:52 PM 9/30/2004, you wrote: > > > >You explicitly define the class when you create the file. > > > > > > Do you mean you implicitly define the class? If not, then I'm > > > confused > > > again. If you do mean "explicit" then it is some manner other > > > than using > > > the "class" keyword? > > > > > > > > > -- > > > Jeffry Houser, Web Developer, Writer, Songwriter, Recording > Engineer> > AIM: Reboog711 | Phone: 1-203-379-0773 > > > -- > > > My Books: <" target="l">" > target="l">http://www.instantcoldfusion.com>> > My Recording > Studio: <" target="l">" target="l">http://www.fcfstudios.com> > > > My Energetic Acoustic Rock Band: <" > > > target="l">--" target="l">http://www.farcryfly.com>-- > > > When did Reality Become TV > > > > > > > > > ---------------------------------------------------------- > > > You are subscribed to cfcdev. To unsubscribe, send an email > > > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > > > in the message of the email. > > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported > > > by Mindtool, Corporation (www.mindtool.com). > > > > > > An archive of the CFCDev list is available at www.mail- > > > archive.com/[EMAIL PROTECTED] > > > >---------------------------------------------------------- > >You are subscribed to cfcdev. To unsubscribe, send an email > >to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > >in the message of the email. > > > >CFCDev is run by CFCZone (www.cfczone.org) and supported > >by Mindtool, Corporation (www.mindtool.com). > > > >An archive of the CFCDev list is available at > >www.mail-archive.com/[EMAIL PROTECTED] > > -- > Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer > AIM: Reboog711 | Phone: 1-203-379-0773 > -- > My Books: <" target="l">http://www.instantcoldfusion.com> > My Recording Studio: <" target="l">http://www.fcfstudios.com> > My Energetic Acoustic Rock Band: <" > target="l">http://www.farcryfly.com>-- > When did Reality Become TV ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
