RE: Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-29 Thread Neil Clark =TMM=

Well, 

Fusetalk uses it EVERYWHERE.. apparently it is necessary.



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-29 Thread Raymond Camden

There _are_ times when you need it, of course.

The #1 way I see people using evaluate when they don't need it is to get
dynamic form names. Ie, looping through form fields not know at design
time. In this scenario, you should simply use the Form scope like a
structure:


Form.#field# is #Form[field]#



===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Matthew R. Small [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, March 29, 2002 11:03 AM
> To: CF-Talk
> Subject: RE: Evaluating Variables from a stupid person who 
> doesn't change subj ect (was RE: Checking an email)
> 
> 
> I can't think of a time when I've ever used evaluate in Cold Fusion.
> 
> - Matt Small
> 

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-29 Thread Matthew R. Small

I can't think of a time when I've ever used evaluate in Cold Fusion.

- Matt Small



-Original Message-
From: Neil Clark =TMM= [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 29, 2002 10:44 AM
To: CF-Talk
Subject: RE: Evaluating Variables from a stupid person who doesn't
change subj ect (was RE: Checking an email)

Yep, 

You're wise words of "EVERYTIME I TYPE SESSION..."  etc... is always
with me... 

As for evaluate; never use it much as you rightly put - "Did I really
need it!"

N


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-29 Thread Neil Clark =TMM=

Yep, 

You're wise words of "EVERYTIME I TYPE SESSION..."  etc... is always
with me... 

As for evaluate; never use it much as you rightly put - "Did I really
need it!"

N

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-29 Thread Raymond Camden

There are a few things in code that should make you stop.

For example, if you type application, session, or server, stop and
think, "Did I use cflock?"

If you type evalute, stop and think, "Do I really need it?"

Just my two and half cents.

===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Neil Clark =TMM= [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, March 29, 2002 9:43 AM
> To: CF-Talk
> Subject: RE: Evaluating Variables from a stupid person who 
> doesn't change subj ect (was RE: Checking an email)
> 
> 
> Is it me or is evaluate used fr too much? :-)
> 

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-29 Thread Neil Clark =TMM=

Is it me or is evaluate used fr too much? :-)

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-29 Thread Bud

On 3/28/02, Shawn McKee penned:
>I build up a query where everything is applied dynamically.
>
>
>   SELECT
>  #alpha#
>   FROM
>  #table#
>   ORDER BY
>  #alpha#
>
>
>Works great and returns what I want.  If I use this I can loop over the
>query and output the contents.
>
>
>   #Evaluate(alpha)#
>
>   
>I could use this to build a list as well but would rather use the intrinsic
>functions but I can't figure out what to pass to valueList.
>
>Any ideas?

Ho about?


SELECT #alpha# as myColumn
FROM #table#
order by #alpha#


#valuelist(alphas.myColumn)#
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-29 Thread Raymond Camden

Once again, you don't have to use evaluate.

You can grab the columns by using #queryname.columnList#, and then to
get a particular column, just do:  #query[col]#.

This is how DUMP is able to display queries.

===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Shawn McKee [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, March 28, 2002 5:46 PM
> To: CF-Talk
> Subject: Evaluating Variables from a stupid person who 
> doesn't change subj ect (was RE: Checking an email)
> 
> 
> -Original Message-
> From: Shawn McKee [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 28, 2002 4:40 PM
> To: CF-Talk
> Subject: RE: Checking an email
> 
> 
> I build up a query where everything is applied dynamically.
> 
>
>   SELECT
>  #alpha#
>   FROM
>  #table#
>   ORDER BY
>  #alpha#
>
> 
> Works great and returns what I want.  If I use this I can 
> loop over the
> query and output the contents.
> 
>
>   #Evaluate(alpha)#
>
>
> I could use this to build a list as well but would rather use 
> the intrinsic
> functions but I can't figure out what to pass to valueList.
> 
> Any ideas?
> 

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Evaluating Variables from a stupid person who doesn't change subj ect (was RE: Checking an email)

2002-03-28 Thread Shawn McKee

-Original Message-
From: Shawn McKee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 4:40 PM
To: CF-Talk
Subject: RE: Checking an email


I build up a query where everything is applied dynamically.

   
  SELECT
 #alpha#
  FROM
 #table#
  ORDER BY
 #alpha#
   

Works great and returns what I want.  If I use this I can loop over the
query and output the contents.

   
  #Evaluate(alpha)#
   
   
I could use this to build a list as well but would rather use the intrinsic
functions but I can't figure out what to pass to valueList.

Any ideas?

Shawn McKee
Manager, Web Development
NewsStand, Inc.
8620 Burnet Rd., Suite 100
Austin, TX 78757 USA
512-334-5100
Read newspapers and magazines from around the world in a whole new way.
NewsStand delivers them to your PC without paper and without delay!
Try: http://www.newsstand.com?NSEMC=EMNSI01




__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists