It has been a while since I posted, but here is a question I can't seem
to answer.

 

I have inherited an ASP Classic application with several functions that
have variables passed by reference that I need to convert to Cold
Fusion.  If I remember correctly, this practice basically passed a
pointer to the variable and allows the function to change variables is
the scope of the calling application.  

 

It is part of a security system used by ASP Classic, ASP.NET, Visual
Basic and VB.NET.  Now I need to use it with ColdFusion.  I originally
suggested that we use a roll based access system of our own creation
using stored procedures to return the access roll for the user and then
return if that roll had access to a particular element of the
application.  But that is a different discussion.

 

It looks to me like the variables passed by reference (using the byref
keyword) are used for return variables.  If I also remember correctly,
CF UDFs only allow a single return value by default.

 

Is there a way to pass variables into a CF UDF by reference? 

 Based upon the supposition that this is used for return variables, is
it even needed?  

Can I use the CALLER scope to return multiple variables from the UDF?

 

Thanks

 

Russel Madere

Webmaster

504.832.9835

SunShine Pages by EATEL

www.sunshinepages.com

 

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243030
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to