Re: locking within CFSCRIPT

2001-11-04 Thread James Sleeman
At 10:30 PM 11/2/2001, you wrote: If serviceAvailable() requires the use of the external variable application.services I would say that it is a Bad Thing (TM) if you can invoke it like serviceAvailable('borkyService'). The UDF should be modified so it has to be invoked by sending all external

Re: locking within CFSCRIPT

2001-11-04 Thread tom muck
I still disagree, why should my greater application have or want to know anything about how serviceAvailable() and related UDFs do the job they say they will ? Because that's the way it is. You have two choices -- adapt your thinking and implement it the way that it works currently, or

Re: locking within CFSCRIPT

2001-11-04 Thread James Sleeman
At 12:28 PM 11/5/2001, you wrote: I still disagree, why should my greater application have or want to know anything about how serviceAvailable() and related UDFs do the job they say they will ? When I first started CF I couldn't believe that I didn't have a way to call a function of my own

Re: locking within CFSCRIPT

2001-11-02 Thread Jochem van Dieten
At 02:37 AM 11/2/2001, Birgit wrote: Pete, you are right concerning cfscript but I can't see the limitations regarding UDFs. A UDF pre se is meant to be self-contained and therefore not relying on anything outside it's own scope. Wouldn't the use of shared data inside a UDF be

Re: locking within CFSCRIPT

2001-11-01 Thread Birgit Pauli-Haack
+ PF Pete Freitag ([EMAIL PROTECTED]) PF CFDEV.COM PF ColdFusion Developer Resources PF http://www.cfdev.com/ PF -Original Message- PF From: James Sleeman [mailto:[EMAIL PROTECTED]] PF Sent: Thursday, November 01, 2001 12:30 AM PF To: CF-Talk PF Subject: locking within

Re: locking within CFSCRIPT

2001-11-01 Thread James Sleeman
I don't think so... take for example the following if locking could be done in CFSCRIPT/ CFIF serviceAvailable('borkyService') do stuff, we don't care about how serviceAvailable() does it's job, just that we ask for a service and it tells us if it is available

locking within CFSCRIPT

2001-10-31 Thread James Sleeman
Hi all, I have a situation where I would like to write a UDF to perform the same task as a custom tag does at the moment, problem is I need to be able to perform locking operations in the UDF. Are there functions, say lock() and unlock() that can do the same function as CFLOCK/CFLOCK

RE: locking within CFSCRIPT

2001-10-31 Thread Pete Freitag
01, 2001 12:30 AM To: CF-Talk Subject: locking within CFSCRIPT Hi all, I have a situation where I would like to write a UDF to perform the same task as a custom tag does at the moment, problem is I need to be able to perform locking operations in the UDF. Are there functions, say lock