Well the problem is, sometimes its going to be a query returned, sometimes it might be a string, a numeric, a boolean or any datatype. So the prefixes wouldn't ever really be accurate.
Its just the key that holds the actual data that is being returned. Data may work. On 10/25/05, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > That's kind of an odd question to ask someone else. You built it, you know > best as to what it contains and therefore would undoubtedly come up with a > name that best suits it on your own. > > As far as naming tips go, I tend to name results of custom tags, CFCs > queries, etc... Something short, sweet, and descriptive that signifies the > content within. I mean, its ALWAYS results or output of the process, but > that's not what I'd name it. > > You mentioned that it contained error diagnostics or something so why not > just prefix it with err_ or even just call it ErrorDiagnostics? > > Err_reults > Err_Output > ErrorDetails > ErrorInfo > > You also mentioned query results being stored in the one you wnt to change > so maybe prefix it with Qry or Qry_ ? > > QryResults > > Again, whatever you think best suits the information within those > results/variable/structure > > ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > > > -----Original Message----- > From: Ryan Guill [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 25, 2005 1:42 PM > To: CF-Talk > Subject: wordage question > > Hey guys, > > I hope this isnt considered off topic, but just had a quick wordage > question for you guys. I am creating a structure that will be > returned from a method, and need another word for result or return. > The name of the structure is results because the entire structure is > being returned, but the actual data that the method is retrieving is > being stored in the structure, the rest of the structure contents is > just meta data and error and debug information. I need a word for the > key in the structure that holds the actual results of the query or > operation. Right now im using output, but I dont really like that > word to describe it. and return, what I would like to use, is a > coldfusion restricted keyword. So would you guys stick with output or > do you have a better suggestion? > > In case that doesn't make much sense, I am returning a structure > called results that has the following keys currently: > > args > endTime > startTime > execTime > error > warning > success > successcode > successmessage > and output, which is what I want to change. > > Thanks, > > -- > Ryan Guill > BlueEyesDevelopment > [EMAIL PROTECTED] > www.ryanguill.com > (270) 217.2399 > got google talk? Chat me at [EMAIL PROTECTED] > > The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com > > www.ryanguill.com/ > The Roman Empire: www.ryanguill.com/blog/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222234 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

