okay - thanks. That's what it seemed to be saying, but I hadn't encountered
that before.
Is that an ECMA thing? I didn't think it was that way in javascript.
>All var scoped variables must be declared before any other code. The
>"if" block after the first variable is what's causing the error.
r
> local=structNew()" at the top, and I can dynamically assign
> "local.the_day=1" later on.
>
> Oblio
>
>
>
> -Original Message-
> From: daniel kessler [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 02, 2007 10:58 AM
> To: CF-Talk
> Subject:
all var scoped variables must be at the top of a function.
you're var'ing "the_type", then you're doin ga conditional...then more var'ing.
that conditional either has to come after the vars...or var everything
to an empty string (or 0) at the top...then set later.
On 2/2/07, daniel kessler <[EMA
All var scoped variables must be declared before any other code. The
"if" block after the first variable is what's causing the error.
> -Original Message-
> From: daniel kessler [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 02, 2007 10:58 AM
> To: CF-Talk
&
02, 2007 10:58 AM
To: CF-Talk
Subject: error in cfscript
I'm receiving an error that I don't understand: Local variable the_day
on line 10 must be grouped at the top of the function body.
funct
I'm receiving an error that I don't understand: Local variable the_day on line
10 must be grouped at the top of the function body.
function makeDate(a_day,a_month,a_year,a_type){
var the_type = "begin";
st posted that so you'd know where I got my information. Phillip
>> *has* actually decompiled the JIT code and seen that for complex
>> examples that CFScript is faster, because it's closer in resemblance to
>&
curious to know what CF platform these tests
were conducted on.
On 12/18/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> Jon,
>
> I just posted that so you'd know where I got my information. Phillip
> *has* actually decompiled the JIT code and seen that for complex
&
Jon,
I just posted that so you'd know where I got my information. Phillip
*has* actually decompiled the JIT code and seen that for complex
examples that CFScript is faster, because it's closer in resemblance to
the byte code that ColdFusion ultimately parses. Phillip just stated
bet
Chris,
I have not done any benchmarks on cfscript vs. tags, but if there were
significant performance differences, I would expect to have heard of
these differences by now. Phillip's argument is that there is a
difference in compiled code, but I did not see any reason to conclude
that the
Thanks Charlie and James for the syntax help! :o)
Chris
James Holmes wrote:
> Define another cffunction inside your component, or use the script
> without the function declaration (i.e. use the cffunction and
> cfargument tags to declare the function then start the cfscript that
>
L PROTECTED]> wrote:
> Nope. Your example may be immeasurable, but with more advanced
> functionality, that is not the case.
>
> Obviously, ColdFusion is middle ware for your middle ware. It is a
> collection of servlets that consolidate Java functionality into one
> tidy c
ons (IMO) just because of the tag. Now,
you -could- create your with your tags and
write the rest of the function in . However, I don't care
for that myself. It's just a matter of preference, but as somebody
else has already pointed out, I like to see consistency in the code.
Seeing c
Define another cffunction inside your component, or use the script
without the function declaration (i.e. use the cffunction and
cfargument tags to declare the function then start the cfscript that
uses those arguments). Do the return with a cfreturn.
On 12/17/06, Christopher Jordan <[EM
Thanks Mark. Can you (or anyone really), show me the proper way to do this?
Cheers,
Chris
Mark A Kruger wrote:
> Chris,
>
> I'd say our problem isn't cfscript (which I use routinely inside of a
> cffunction tag). You problem is that you are declaring a functions inside of
&
Chris,
I would be wary of using cfscript just for supposed performance gains
over tags. My understanding is that those gains were eliminated (or
reduced to the point of insignificance) in CF 6.x and 7.x. Here are
what I see as the pros and cons of cfscript. These points are largely
a matter of
Chris,
I'd say our problem isn't cfscript (which I use routinely inside of a
cffunction tag). You problem is that you are declaring a functions inside of
a function.
-mark
-Original Message-
From: Christopher Jordan [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006
Hi folks,
I've got a CFC with a function in it that contains CFScript tags. Like this:
function MyFunction(arg) {
return arg;
}
BlueDragon seems to have absolutely no problems with this, but my host's
CFMX box pukes over thi
Hi, i managed to get it to read the colours by using the function
inputBaseN("99ff99", 16)
thanks
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, d
oh right, brilliant, thanks very much
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionaut
Use cfimport to load JSP Tag libraries and then it's quite easy to work with
them. The docs cover it fairly well.
-Original Message-
From: "Richard White" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: 10/16/06 7:37 PM
Subject: Re: cfscript and colors
its js
its jsp. is it easy to use .jsp files with coldfusion. I am not sure how the
files fit in or how to get them to work.
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion informat
> I have started to use chartdirector which is a charting tool.
> They have told me that it can be integrated directly in
> cfscript and provided me with some very simple examples.
> However, 1 major factor is obviously to set the colours of
> the charts but seeing as this i
oh right, lol
well i think i have been fiddled then :)
I have started to use chartdirector which is a charting tool. They have told me
that it can be integrated directly in cfscript and provided me with some very
simple examples. However, 1 major factor is obviously to set the colours of the
27;s not a simple question at all! There's no such thing as colors in
CFSCRIPT. What exactly are you trying to do? Where did that line of code
come from?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at
hi, a very simple question. But have been tearing my hair out :| how do you
incorporate hexidecimal colors into
e.g. i have been given a line of code
m.addZone(0, 50, 0x99ff99);
i have tried the 0x99ff99 as &h99ff99 and lots of ways.
i would appreciate your help
thanks
>> the only way i can make it actually display an alert within
>> javascript is if i do the following code:
>>
>> alert("#student.name#");
>>
>> if i do the following it doesnt work:
>>
>> alert(#student.name#);
>>
>> am i doing something wrong
First, in order to get the second example to work, yo
oh i see, sorry i mis-read the post above it, i didnt see the whole alert was
surrounded by tags, thanks
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your p
Javascript vs. cfscript
the only way i can make it actually display an alert within javascript is if
i do the following code:
alert("#student.name#");
if i do the following it doesnt work:
alert(#student.name#);
am i d
> the only way i can make it actually display an alert within
> javascript is if i do the following code:
>
> alert("#student.name#");
>
> if i do the following it doesnt work:
>
> alert(#student.name#);
>
> am i doing something wrong
Not at all. You can't use a string in Javascript without sur
the only way i can make it actually display an alert within javascript is if i
do the following code:
alert("#student.name#");
if i do the following it doesnt work:
alert(#student.name#);
am i doing something wrong
~|
Introdu
As long as it is defined before the JavaScript is called...you can reference
the structure just as you would in CF.
Eric
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Thursday, 21 September 2006 13:36
To: CF-Talk
Subject: Re: Javascript vs. cfscript
i am
You can make your CF structure avcailable in JS by using the toScript()
function. This will replicate any CF variable, including complex data types
like structures and arrays into the equivalent JavaScript data types.
Granted, you still can't use the JS to interact with CF without AJAX, but if
all
;/cfset x=1/");
/ /script/
What you will get is the text of the tag and not the actual cfset...
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Thursday, 21 September 2006 14:24
To: CF-Talk
Subject: Re: Javascript vs. cfscript
hi, thanks for your reply. I d
Not sure I agree with that since cfscript and cfml essentially do the same
thing whereas javascript adds functionality to a purely formatting oriented
language (html)...
Eric
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Thursday, 21 September 2006 11:55
To
You cant actually use the CF VARIABLE in Javascript but you can use its
value (if that makes sense)
alert("#student.name#");
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.6/453 - Release Date: 9/20/2006
~~
>you're still overlooking the client/server issue.
>
>when you create your structure, you're doing it on the server. that
>has nothing to do with the client until you make it have somethign to
>do with the client.
>
>e.g.
>
>
>
>
>
> var studentName = "#students.name#";
>
you're still overlooking the client/server issue.
when you create your structure, you're doing it on the server. that
has nothing to do with the client until you make it have somethign to
do with the client.
e.g.
var studentName = "#students.name#";
alert(stud
> stop thinking in terms of javascript vs cfscript and start thinking
> in
> terms of client versus server.
>
> any ColdFusion (be it CFML or cfscript) is going to execute on the
> server. by the time the browser renders the page, any and all CF
> processing is long sin
hi, thanks for your reply. I dont really understand how this works, i tried to
use the code you supplied but it didnt do as expected. can i not create a
variable in a cfset tag and then use it in the javascript. if i cant do this
how can i get around it?
i tried playing around with the code tha
stop thinking in terms of javascript vs cfscript and start thinking in
terms of client versus server.
any ColdFusion (be it CFML or cfscript) is going to execute on the
server. by the time the browser renders the page, any and all CF
processing is long since done.
you can "integrate"
Matt Quackenbush [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 1:50 PM
To: CF-Talk
Subject: RE: Javascript vs. cfscript
Javascript is client-side. Cfscript is server-side. They do NOT
communicate with each other. The only way to get javascript to talk to CF
is to use AJAX.
-Ori
Javascript is client-side. Cfscript is server-side. They do NOT
communicate with each other. The only way to get javascript to talk to CF
is to use AJAX.
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 1:36 PM
To: CF-Talk
Subject
document.getElementByID(...)...
therefore i was wondering it is it possible to combine the 2 together, or
whether i maybe have create a cfscript function and a javascript function and
send calls between them. thanks
~|
Introducing
>>just wondering if there was much of a difference between cfscript and
javascript.
In other words, cfscript is to CFML what javascript is to HTML.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Pleas
that makes alot of sense, thanks for your help :)
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://w
cfscript is just a way to use the coldfusion language in script form.
Javascript as stated before runs on the users browser generally speaking. And
so you use that primarily for user only functions ( if we dont count
asyncronous calls with the request object etc
cfscript runs on the server, driving ColdFusion. Javascript runs on
the client - after CF has done its job.
On 9/21/06, Richard White <[EMAIL PROTECTED]> wrote:
> hi, i am new to coldfusion, in fact even scripting, and just wondering if
> there was much of a difference between
hi, i am new to coldfusion, in fact even scripting, and just wondering if there
was much of a difference between cfscript and javascript. It appears that i can
do almost anything i need to do in javascript. Is there any reason why you
would need to use cfscript instead of javascript.
thanks
Oleg,
We have a set of user-defined functions that mimic CF functions not
available in CFScript that we include in many of our applications.
For example, we define throw(), throwType(), and rethrow():
Jon
On 3/29/06, Oleg Gunkin <[EM
> What's the equivalent to cfthrow inside cfscript?
>
> try{
> ...
> }catch(Any e){
> //Throw new exception
> }
It's exactly that - try and catch:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/0978.htm#1161053
Dave Watts, CTO, Fig Leaf
What's the equivalent to cfthrow inside cfscript?
try{
...
}catch(Any e){
//Throw new exception
}
--
Oleg Gunkin
Email: [EMAIL PROTECTED]
Phone: (604) 666-9392
Emerging Technologies / Pacific Web Services
Information Technology Services
Public Works and Government Services C
That's what is cool about CF, there are multiple ways to skin the cat. I
like plain old cfinvoke as it seems the most intuitive to me.
-- Josh
- Original Message -
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, February 28, 2006
&argument=argument
> call it through flash remoting
> call it through flash remoting variants such as Flex call it
> through an event gateway
>
> That's 9... are there any more?
You can use any function within a tag or within a CFSCRIPT block, so I don't
really thin
ough flash remoting variants such as Flex
call it through an event gateway
That's 9... are there any more?
-nathan strutz
http://www.dopefly.com/
On 2/28/06, Aaron Rouse <[EMAIL PROTECTED]> wrote:
>
> I use either a CFSCRIPT or CFSET, it just depends on where I am using it.
> M
I use either a CFSCRIPT or CFSET, it just depends on where I am using it.
Most of the time I do the CFSCRIPT and with bother I use the CreateObject()
function. I do it more out of habbit, I think the CF5 days(which we still
live on some servers here) got me stuck on using CFSCRIPT a lot. Plus I
I use the third option - a cfset tag.
On 2/28/06, Mark Flewellen <[EMAIL PROTECTED]> wrote:
> What is the best method or easiest method for calling component methods.
>
> At present i use the cfinvoke way of doing things, but i see a lot of people
> use cfscript instead
I use cfscript because it's much more similar in syntax and look to other
languages, javascript, java, c, c# . This way I don't go crazy when I switch
between languages. Back in CF 5 days it used to be faster to do it this way,
but not n
What is the best method or easiest method for calling component methods.
At present i use the cfinvoke way of doing things, but i see a lot of people
use cfscript instead to do it, is there some reason for this? less code
involved maybe?
Mark
On 1/23/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
> any specific questions that we can take a shot at tho?
>
I know CFScript just fine so I don't have any questions about it, I
was just looking for an old "Quick Start" guide that I used to have--
but thanks.
how about
http://livedocs.macromedia.com/coldfusion/7/htmldocs/0970.htm#1106683
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230247
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: ht
> A Java programmer I work with is working on integrating
> something in Java to CF and keeps asking me control structure
> questions about CFScript. I've googled for the last 15
> minutes without any luck finding it unfortunately. Any help
> would be appreciated.
Th
> -Original Message-
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 23, 2006 1:29 PM
> To: CF-Talk
> Subject: Re: CFScript Quick Reference Guide?
>
> i remember the doc you're referring to...i used to have it printed
> out, but don
a PDF which was a quick reference to CFScript. It
> was basically a quick and dirty two page overview which showed the
> various control structures available in CFScript. I've not needed it
> in quite a long time and don't seem to have it around any longer.
> That said, I wa
Some time ago I had a PDF which was a quick reference to CFScript. It
was basically a quick and dirty two page overview which showed the
various control structures available in CFScript. I've not needed it
in quite a long time and don't seem to have it around any longer.
That s
Thanks all for your feedback, this has definitely made me think again about
the use of cfscript. I just suppose it is a comfort thing so while it is not
detrimental I shall still use it. Thanks again.
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 02 January 2006 19
> I was under the impression that there was a performance gain
> with cfscript, is that not the case? Is there no benefit to
> using cfscript?
I haven't been able to determine any significant performance change one way
or the other with CFMX. There may have been performance differ
I think the benefit was always a SLIGHT performance increase. I don't know
that it was ever actually processed faster than a normal tag based method
but 99.9% of the time, it takes less code in cfscript to get the job
done which makes for a smaller file size in the end which WOU
I am not aware of any benefit other than personal
preference...
Eric
On Mon, 2 Jan 2006 11:38:27 -
"Andy McShane" <[EMAIL PROTECTED]> wrote:
> I was under the impression that there was a performance
>gain with cfscript,
> is that not the case? Is there no be
t syntax better than tags.
Some find it easier to read. I think, at the very least, if you're
setting a ton of variables, cfscript is a bit quicker to type out.
varA = "foo1";
varB = "foo2";
varC = "foo3";
without having to type out the 'cfset' ex
I was under the impression that there was a performance gain with cfscript,
is that not the case? Is there no benefit to using cfscript?
-Original Message-
From: Aaron Rouse [mailto:[EMAIL PROTECTED]
Sent: 30 December 2005 19:03
To: CF-Talk
Subject: Re: CFSCRIPT Question
Probably not
Probably not, could be debated that it was on older versions of CF. I
personally am a cfscript nazi, use it a lot more than I really should.
On 12/30/05, Ben Doom <[EMAIL PROTECTED]> wrote:
>
> Is it ever actually necessary? :
Is it ever actually necessary? :-)
--Ben
Adrocknaphobia wrote:
> Sounds like you are using cfscript unnecessarily.
>
> -Adam
>
> On 12/30/05, Andy Mcshane <[EMAIL PROTECTED]> wrote:
>
>>>>how do I call a stored procedure from within cfscript?
>&
Sounds like you are using cfscript unnecessarily.
-Adam
On 12/30/05, Andy Mcshane <[EMAIL PROTECTED]> wrote:
> >> how do I call a stored procedure from within cfscript?
> >
> >Wrap it in a tag and call it as a function.
> >
> >Paul
>
> Now I f
>> how do I call a stored procedure from within cfscript?
>
>Wrap it in a tag and call it as a function.
>
>Paul
Now I feel stupid, knew it would be something simple! Thanks.
~|
Logware (www.logware.us): a
I was sure I read that tags were allowed inside cfscript blocks somewhere,
but it doesn't appear to work.
-Original Message-
From: Andy Mcshane [mailto:[EMAIL PROTECTED]
Sent: 30 December 2005 10:46
To: CF-Talk
Subject: CFSCRIPT Question
I have a large block of cfscript that I now
> how do I call a stored procedure from within cfscript?
Wrap it in a tag and call it as a function.
Paul
~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffu
I have a large block of cfscript that I now have to add a stored procedure call
into the middle of. I normally use cfstoredproc elsewhere but how do I call a
stored procedure from within cfscript?
~|
Logware (www.logware.us
Thanks for the explanation. The loop endpoint being processed multiple
times is I'm sure the sulprit, and would explain why the loop would break
out after folowing one string to its conclusion. I unfortunatly deleted the
CFSCRIPT syntax or I would gladly post the example, but thanks fo
There are some subtle differences between CFSCRIPT constructs and
their "equivalent" tag-based constructs. I'd wager that's the
culprit. The usual suspect: the endpoint of CFLOOP is evaluated once
when CFLOOP runs initially, while the endpoint of a CFSCRIPT for loop
is eval
Has anyone had issues with cfscript syntax where it doesn't function
correctly? I had an issue in a CFC where I was looping through an array and
then making recursive method calls to the same method doing the looping.
The loop was supposed to make a call for every item in the array, but it
>Setting commonly used functions to a 'permanent' memory scope such as server
>or application is a good idea. A better one would be to create a CFC that
>contains the common functions as well as common data and store that CFC in
>the memory scope.
How would that work under a clustered environme
No problem, let me know if you have any questions.
On 12/7/05, Ben Nadel <[EMAIL PROTECTED]> wrote:
> Ryan,
>
> I appreciate the response. I am definitely interested in at the very least
> taking a look at how it works, as I am very new to OOP and very interested
> in how you all get things workin
--Original Message-
From: Ryan Guill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 9:39 AM
To: CF-Talk
Subject: Re: cfscript Common Functions and Best Practices
You do not have to put the files outside of the current application or
have any mappings if you dont want. You certai
134
> 212.691.3477 fax
> www.nylontechnology.com
>
> "Vote for Pedro"
>
> -Original Message-----
> From: Ryan Guill [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 07, 2005 9:06 AM
> To: CF-Talk
> Subject: Re: cfscript Common Functions and Best Pra
Sent: Wednesday, December 07, 2005 9:06 AM
To: CF-Talk
Subject: Re: cfscript Common Functions and Best Practices
Just so you know, you can also use COAL to do something similar.
You just create an object out of COAL, and then you can access your
different libraries at the time you need them.
An
NY 10011
> 212.691.1134
> 212.691.3477 fax
> www.nylontechnology.com
>
> "Vote for Pedro"
> -Original Message-
> From: Ryan Duckworth [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 06, 2005 5:54 PM
> To: CF-Talk
> Subject: cfscript Common Func
Ben Nadel
Web Developer
Nylon Technology
6 West 14th Street
New York, NY 10011
212.691.1134
212.691.3477 fax
www.nylontechnology.com
"Vote for Pedro"
-Original Message-
From: Ryan Duckworth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 5:54 PM
To: CF-Talk
Subject: cfscrip
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Ryan Duckworth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 5:54 PM
To: CF-Talk
Subject: cfscript Common Functions and Best Practices
Currently we have many functions that we use within cfscript. We are
storing them i
s that we use within cfscript. We are
> storing them in the request scope (see 2 examples below).
>
>
> Here is what I am don't like about this approach: Every page hit from
> every user is loading these common functions. I personally am not
> convinced that the request scope
Currently we have many functions that we use within cfscript. We are
storing them in the request scope (see 2 examples below).
Here is what I am don't like about this approach: Every page hit from
every user is loading these common functions. I personally am not
convinced that the re
cember 05, 2005 10:46 AM
> To: CF-Talk
> Subject: Complete CFSCRIPT
>
> A long while ago I wrote some step by step docs for CFSCRIPT:
> http://www.houseoffusion.com/docs/cfscript.htm
> I've decided to update them to include everything you could ever want to
> know about t
How about writing functions (var, return, arguments, etc)?
-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005 10:46 AM
To: CF-Talk
Subject: Complete CFSCRIPT
A long while ago I wrote some step by step docs for CFSCRIPT:
http
A long while ago I wrote some step by step docs for CFSCRIPT:
http://www.houseoffusion.com/docs/cfscript.htm
I've decided to update them to include everything you could ever want to know
about the tag, related syntax and functions. I've started it here:
http://www.houseoffusion.com/doc
> I'm building some user-configurable front page widgets for a site
> that I'm building. I'd prefer to use CFSCRIPT for a number of reasons.
> Anyway, I'm having trouble getting any output. This code, using
> CFINVOKE, works fine (it returns the HTML for an image
Hi,
I'm building some user-configurable front page widgets for a site that
I'm building. I'd prefer to use CFSCRIPT for a number of reasons.
Anyway, I'm having trouble getting any output. This code, using
CFINVOKE, works fine (it returns the HTML for an image tag):
#
sInMonth(CreateDate(TheYear,TheMonth,1)) OR
> TheDayInMonth lt 1)
> {myReturnVar = 1;}
> else
> {myReturnVar = TheDayInMonth;}
>
>
>
>
> Enjoy
> =]
>
> On 10/26/05, Ken <[EMAIL PROTECTED]> wrote:
> >
> > Hi. I am new to CFC. Can someone help me c
)) OR
TheDayInMonth lt 1)
{myReturnVar = 1;}
else
{myReturnVar = TheDayInMonth;}
Enjoy
=]
On 10/26/05, Ken <[EMAIL PROTECTED]> wrote:
>
> Hi. I am new to CFC. Can someone help me convert this function from
> cfscript
> to CFML?
>
>
> /**
> * Returns the day of the month(
Hi. I am new to CFC. Can someone help me convert this function from cfscript
to CFML?
/**
* Returns the day of the month(1-31) of an Nth Occurrence of a day
(1-sunday,2-monday etc.)in a given month.
*
* @param NthOccurrence A number representing the nth occurrence.1-5.
* @param TheDayOfWeek A
IL PROTECTED]> wrote:
> > Don't forget you can use argumentCollection to dynamically pass
> > attributes to a CFC method or UDF. That would let you use cfscript if
> > you want to. argumentCollection for CFCs/UDFs works the same as
> > attributeCollection for c
301 - 400 of 1138 matches
Mail list logo