John, ColdFusion has always been able to use cfscript and tags in the same template, when you see what you describe it means that the person prefers to use cfscript, but it might be that the server the code is running on can't cope with full cfscript.
Especially if they are running on something prior to ColdFusion 9. Hope that helps. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411<http://plus.google.com/108193156965451149543> On Tue, Oct 9, 2012 at 3:03 AM, John Barrett <[email protected]> wrote: > > Hi, > I am starting to learn the new cfscript style for cfcs, and I was > wondering if there are any books that go over this? I thought maybe CFWACK > volume 3 might(if you have it, please let me know). Or if there are any > tutorials for this, please point me to them. > > Also, why when I see examples on-line they use both styles > <cfscript> > component{ > > /** > * @hint This is a hint > * @arg1 This is an argument hint > * @arg2 This is another argument hint > */ > public void function myFunc(string arg1='default', numeric arg2) { > return TRUE; > } > } > > </cfscrtipt> > > maybe they are using the tags for highlighting, as I can't figure out why > they would use both styles. > thanks so much, > Johnny > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5924 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
