evaluate hell PT 3 (three)

2006-02-07 Thread Cutter (CF-Talk)
Can anyone give me a good/valid reason for the existence of the 
following statement:

#Evaluate(ListLen(CurrentDir, '/')-NestDepth)#

(Gotta love OPC...)

Cutter

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231588
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: evaluate hell PT 3 (three)

2006-02-07 Thread Charlie Griefer
good?  no :)

valid?  maybe.

pre-MX, you couldn't do computations inside of brackets (e.g. #myVar1
- myVar2# would not work), so you needed evaluate() (or you needed to
do a cfset /).

but as of MX, #listLen(currentDir, '/') - nestDepth# should work just peachy.

On 2/7/06, Cutter (CF-Talk) [EMAIL PROTECTED] wrote:
 Can anyone give me a good/valid reason for the existence of the
 following statement:

 #Evaluate(ListLen(CurrentDir, '/')-NestDepth)#

 (Gotta love OPC...)

 Cutter

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231591
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54