I the case I needed to last night, I actually KNEW that I wanted either a string or an array to come into my CFC, thus knowing what I needed. Because you can not declare more than one type, I had to use ANY, which to me is just a work around.
If I know that my function is going to handle either an array or a number, I want to say to my cfc to only accept either an array or a number, not anything. Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Scott Barnes Sent: Thursday, February 27, 2003 10:18 AM To: CFAussie Mailing List Subject: [cfaussie] Re: Wishlist for CFCs > > I am here by starting a wishlist for CFCs I here by back you up. > Here are my few items. > > 1- Ability to declaire multiple types in the "Type" attribute of the > CFARGUMENT tag. Either by using multiple tags or using a list within the > attribute. Hmmm, on the fence about this one? why would you need multiple "types" .. In OOP i've always been taught that you don't assume, you know.. In that expect a string, integer etc don't assume its one or the other? so yeah? why the multiple.. My Wishlist so far is: Super() scope :D ... We need one damn it (Spike has a cool way to build a superclass way of doing things but.. ) A CallStack feature (ie in debuging, see what times methods where called etc); Scott. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
