That example most likely comes from Ben Nadel, who uses it to ensure
code coloring works right. You donot wrap script based components in
script tags. So... ignore that. :)



On Mon, Oct 8, 2012 at 11: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:5926
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to