RE: Anything wrong with this statement?
I finally went the "variable in a hidden formfield" route... Rick -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 3:50 PM To: CF-Talk Subject: Re: Anything wrong with this statement? >>When the page is submitted back to itself, the variable is upped 1, Ah ah! Here is what is wrong: when the page resubmit itself, the variable Photo is lost and a new one (default = 0), Unless you resend the variable through the URL or as an hidden field. You could also use a session variable instead. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201431 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
Re: Anything wrong with this statement?
>>When the page is submitted back to itself, the variable is upped 1, Ah ah! Here is what is wrong: when the page resubmit itself, the variable Photo is lost and a new one (default = 0), Unless you resend the variable through the URL or as an hidden field. You could also use a session variable instead. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201428 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: Anything wrong with this statement?
That's not a CFFILE filefield. That's an HTML form element of the type file. It's a standard HTML problem. I think most people dislike it but you get used to it. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 3:34 PM To: CF-Talk Subject: RE: Anything wrong with this statement? Ok...I got this part figured out...now the users can click "Add Another Photo" and the page resubmits and adds another CFFILE filefield and caption field... I know this could be done more elegantly in JavaScript...but I'm no JS'er... You know, it's too bad the CFFILE file selection dialog won't let you choose more than one file at a time...I was going to try to select multiple files, then loop through the list and upload them that way...the idea being that a user could simply select say 20 photos and the CFFILE filefield would contain the list of files, then I loop over the list using the comma as the delimiter, and voila, a single selection of all the photos at once...but, as I quickly found out, the selection dialog won't do multiple selects...bummer... Rick -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 1:10 PM To: CF-Talk Subject: RE: Anything wrong with this statement? the Photos variable isn't persistent (not a session, cookie, application or whatever variable) so it's being redefined as 0 by the cfparam with every request to the page. My suggestion (quick and dirty) would be to put it in a hidden form field or pass it in the url. /t >-Original Message- >From: Rick Faircloth [mailto:[EMAIL PROTECTED] >Sent: Monday, April 04, 2005 7:07 PM >To: CF-Talk >Subject: RE: Anything wrong with this statement? > >> What happens if it is passed in with a non-numeric value ... > > Wouldn't happen...the variable is used only on a page which > is submitting back to itself. No other pages are utilizing it. > Its default is set to 0, the formula runs, adding 1 to the value, > and then it gets incremented up 1 if the "Add Another Photo" > button is clicked... > > Trying to work out a CF solution to allowing a user to add more > CFFILE fields to a page when they click a button. > > When the page is submitted back to itself, the variable is upped 1, > and a CFLOOP is run creating the amount of CFFILE fields > specified by the variable, "Photos". > > Seems simple...but so far it's not working. I'm just missing > something at this point... > > Rick > > > >-Original Message- >From: Aaron Rouse [mailto:[EMAIL PROTECTED] >Sent: Monday, April 04, 2005 12:48 PM >To: CF-Talk >Subject: Re: Anything wrong with this statement? > > >I'd think "importance" would be subjective as to who was looking at it. >I personally try to always do it like this: > > > >But I got into the habbit of putting in Variables due to working with >inherited code that lacks much of any scoping. So I'd maybe come >across a page with references to Photos but have no idea if they were >expecting it to come in via the URL, FORM, or whatever. In some really >rare cases they might have had: > > > >But I'd still not have any idea where they were expecting it to come >from with that. > >All your CFPARAM is doing before the set is making Photos if it did not >already exist and setting it to 0. What happens if it is passed in >with a non-numeric value ... > >On Apr 4, 2005 11:43 AM, Rick Faircloth <[EMAIL PROTECTED]> >wrote: > >> >> As to scoping it with variables., as in "variables.photos", why is >> that important? >> > > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201427 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: Anything wrong with this statement?
Ok...I got this part figured out...now the users can click "Add Another Photo" and the page resubmits and adds another CFFILE filefield and caption field... I know this could be done more elegantly in JavaScript...but I'm no JS'er... You know, it's too bad the CFFILE file selection dialog won't let you choose more than one file at a time...I was going to try to select multiple files, then loop through the list and upload them that way...the idea being that a user could simply select say 20 photos and the CFFILE filefield would contain the list of files, then I loop over the list using the comma as the delimiter, and voila, a single selection of all the photos at once...but, as I quickly found out, the selection dialog won't do multiple selects...bummer... Rick -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 1:10 PM To: CF-Talk Subject: RE: Anything wrong with this statement? the Photos variable isn't persistent (not a session, cookie, application or whatever variable) so it's being redefined as 0 by the cfparam with every request to the page. My suggestion (quick and dirty) would be to put it in a hidden form field or pass it in the url. /t >-Original Message- >From: Rick Faircloth [mailto:[EMAIL PROTECTED] >Sent: Monday, April 04, 2005 7:07 PM >To: CF-Talk >Subject: RE: Anything wrong with this statement? > >> What happens if it is passed in with a non-numeric value ... > > Wouldn't happen...the variable is used only on a page which > is submitting back to itself. No other pages are utilizing it. > Its default is set to 0, the formula runs, adding 1 to the value, > and then it gets incremented up 1 if the "Add Another Photo" > button is clicked... > > Trying to work out a CF solution to allowing a user to add more > CFFILE fields to a page when they click a button. > > When the page is submitted back to itself, the variable is upped 1, > and a CFLOOP is run creating the amount of CFFILE fields > specified by the variable, "Photos". > > Seems simple...but so far it's not working. I'm just missing > something at this point... > > Rick > > > >-----Original Message- >From: Aaron Rouse [mailto:[EMAIL PROTECTED] >Sent: Monday, April 04, 2005 12:48 PM >To: CF-Talk >Subject: Re: Anything wrong with this statement? > > >I'd think "importance" would be subjective as to who was looking at >it. I personally try to always do it like this: > > > >But I got into the habbit of putting in Variables due to working with >inherited code that lacks much of any scoping. So I'd maybe come >across a page with references to Photos but have no idea if they were >expecting it to come in via the URL, FORM, or whatever. In some >really rare cases they might have had: > > > >But I'd still not have any idea where they were expecting it to come >from with that. > >All your CFPARAM is doing before the set is making Photos if it did >not already exist and setting it to 0. What happens if it is passed >in with a non-numeric value ... > >On Apr 4, 2005 11:43 AM, Rick Faircloth ><[EMAIL PROTECTED]> wrote: > >> >> As to scoping it with variables., as in "variables.photos", why >> is that important? >> > > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201425 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
RE: Anything wrong with this statement?
Heck, in this particular case, it could be scoping that is tripping you up... - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 1:13 PM To: CF-Talk Subject: RE: Anything wrong with this statement? I know...but it's a lot more work to explain everything up front than to ask specific questions...I'll get more detailed (as you'll see I did in a later response) about the code as I have to... I should be able to find the problem...I was just checking that statement... Sorry if that's kind of annoying... Rick -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 12:58 PM To: CF-Talk Subject: Re: Anything wrong with this statement? Rick: It's generally easier to get an answer if you are as descriptive as possible about your issue (if an error, what error...if not, what was unexpected). Makes it much easier to troubleshoot and offer up suggestions than just being shown a line of code. While there was nothing wrong with your code in and of itself (personal preference and 'best practices' regarding scoping aside), there could have been other issues (like 'photos' not being created as a variable, the variable not being numeric, etc). Cuts down on the guess work to know what the issue is :) On Apr 4, 2005 12:43 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Thanks for the replies, everyone... > > I've ensured the value / variable exists by preceding it with > > > > As to scoping it with variables., as in "variables.photos", why > is that important? > > Charlie...why do I ask? Well, I'm trying to increment the value, > and so far, it's not working...something must be wrong in my other > code somewhere...I didn't think there was anything wrong with it > "in and of itself", but wanted to be sure... > > I'll tinker with the code some more and see what I can dig up... > > Rick > > > -Original Message- > From: Paul Hastings [mailto:[EMAIL PROTECTED] > Sent: Monday, April 04, 2005 12:32 PM > To: CF-Talk > Subject: Re: Anything wrong with this statement? > > Rick Faircloth wrote: > > Is there anything wrong with this statement in an of itself? > > > > > > wrong? it assumes a value for Photos already exists? > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201406 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: Anything wrong with this statement?
I know...but it's a lot more work to explain everything up front than to ask specific questions...I'll get more detailed (as you'll see I did in a later response) about the code as I have to... I should be able to find the problem...I was just checking that statement... Sorry if that's kind of annoying... Rick -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 12:58 PM To: CF-Talk Subject: Re: Anything wrong with this statement? Rick: It's generally easier to get an answer if you are as descriptive as possible about your issue (if an error, what error...if not, what was unexpected). Makes it much easier to troubleshoot and offer up suggestions than just being shown a line of code. While there was nothing wrong with your code in and of itself (personal preference and 'best practices' regarding scoping aside), there could have been other issues (like 'photos' not being created as a variable, the variable not being numeric, etc). Cuts down on the guess work to know what the issue is :) On Apr 4, 2005 12:43 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Thanks for the replies, everyone... > > I've ensured the value / variable exists by preceding it with > > > > As to scoping it with variables., as in "variables.photos", why > is that important? > > Charlie...why do I ask? Well, I'm trying to increment the value, > and so far, it's not working...something must be wrong in my other > code somewhere...I didn't think there was anything wrong with it > "in and of itself", but wanted to be sure... > > I'll tinker with the code some more and see what I can dig up... > > Rick > > > -Original Message- > From: Paul Hastings [mailto:[EMAIL PROTECTED] > Sent: Monday, April 04, 2005 12:32 PM > To: CF-Talk > Subject: Re: Anything wrong with this statement? > > Rick Faircloth wrote: > > Is there anything wrong with this statement in an of itself? > > > > > > wrong? it assumes a value for Photos already exists? > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201397 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
RE: Anything wrong with this statement?
the Photos variable isn't persistent (not a session, cookie, application or whatever variable) so it's being redefined as 0 by the cfparam with every request to the page. My suggestion (quick and dirty) would be to put it in a hidden form field or pass it in the url. /t >-Original Message- >From: Rick Faircloth [mailto:[EMAIL PROTECTED] >Sent: Monday, April 04, 2005 7:07 PM >To: CF-Talk >Subject: RE: Anything wrong with this statement? > >> What happens if it is passed in with a non-numeric value ... > > Wouldn't happen...the variable is used only on a page which > is submitting back to itself. No other pages are utilizing it. > Its default is set to 0, the formula runs, adding 1 to the value, > and then it gets incremented up 1 if the "Add Another Photo" > button is clicked... > > Trying to work out a CF solution to allowing a user to add more > CFFILE fields to a page when they click a button. > > When the page is submitted back to itself, the variable is upped 1, > and a CFLOOP is run creating the amount of CFFILE fields > specified by the variable, "Photos". > > Seems simple...but so far it's not working. I'm just missing > something at this point... > > Rick > > > >-----Original Message----- >From: Aaron Rouse [mailto:[EMAIL PROTECTED] >Sent: Monday, April 04, 2005 12:48 PM >To: CF-Talk >Subject: Re: Anything wrong with this statement? > > >I'd think "importance" would be subjective as to who was looking at >it. I personally try to always do it like this: > > > >But I got into the habbit of putting in Variables due to working with >inherited code that lacks much of any scoping. So I'd maybe come >across a page with references to Photos but have no idea if they were >expecting it to come in via the URL, FORM, or whatever. In some >really rare cases they might have had: > > > >But I'd still not have any idea where they were expecting it to come >from with that. > >All your CFPARAM is doing before the set is making Photos if it did >not already exist and setting it to 0. What happens if it is passed >in with a non-numeric value ... > >On Apr 4, 2005 11:43 AM, Rick Faircloth ><[EMAIL PROTECTED]> wrote: > >> >> As to scoping it with variables., as in "variables.photos", why >> is that important? >> > > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201396 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
RE: Anything wrong with this statement?
> What happens if it is passed in with a non-numeric value ... Wouldn't happen...the variable is used only on a page which is submitting back to itself. No other pages are utilizing it. Its default is set to 0, the formula runs, adding 1 to the value, and then it gets incremented up 1 if the "Add Another Photo" button is clicked... Trying to work out a CF solution to allowing a user to add more CFFILE fields to a page when they click a button. When the page is submitted back to itself, the variable is upped 1, and a CFLOOP is run creating the amount of CFFILE fields specified by the variable, "Photos". Seems simple...but so far it's not working. I'm just missing something at this point... Rick -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 12:48 PM To: CF-Talk Subject: Re: Anything wrong with this statement? I'd think "importance" would be subjective as to who was looking at it. I personally try to always do it like this: But I got into the habbit of putting in Variables due to working with inherited code that lacks much of any scoping. So I'd maybe come across a page with references to Photos but have no idea if they were expecting it to come in via the URL, FORM, or whatever. In some really rare cases they might have had: But I'd still not have any idea where they were expecting it to come from with that. All your CFPARAM is doing before the set is making Photos if it did not already exist and setting it to 0. What happens if it is passed in with a non-numeric value ... On Apr 4, 2005 11:43 AM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > As to scoping it with variables., as in "variables.photos", why > is that important? > ~| 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:201394 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: Anything wrong with this statement?
Rick: It's generally easier to get an answer if you are as descriptive as possible about your issue (if an error, what error...if not, what was unexpected). Makes it much easier to troubleshoot and offer up suggestions than just being shown a line of code. While there was nothing wrong with your code in and of itself (personal preference and 'best practices' regarding scoping aside), there could have been other issues (like 'photos' not being created as a variable, the variable not being numeric, etc). Cuts down on the guess work to know what the issue is :) On Apr 4, 2005 12:43 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Thanks for the replies, everyone... > > I've ensured the value / variable exists by preceding it with > > > > As to scoping it with variables., as in "variables.photos", why > is that important? > > Charlie...why do I ask? Well, I'm trying to increment the value, > and so far, it's not working...something must be wrong in my other > code somewhere...I didn't think there was anything wrong with it > "in and of itself", but wanted to be sure... > > I'll tinker with the code some more and see what I can dig up... > > Rick > > > -Original Message----- > From: Paul Hastings [mailto:[EMAIL PROTECTED] > Sent: Monday, April 04, 2005 12:32 PM > To: CF-Talk > Subject: Re: Anything wrong with this statement? > > Rick Faircloth wrote: > > Is there anything wrong with this statement in an of itself? > > > > > > wrong? it assumes a value for Photos already exists? > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201390 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: Anything wrong with this statement?
I'd think "importance" would be subjective as to who was looking at it. I personally try to always do it like this: But I got into the habbit of putting in Variables due to working with inherited code that lacks much of any scoping. So I'd maybe come across a page with references to Photos but have no idea if they were expecting it to come in via the URL, FORM, or whatever. In some really rare cases they might have had: But I'd still not have any idea where they were expecting it to come from with that. All your CFPARAM is doing before the set is making Photos if it did not already exist and setting it to 0. What happens if it is passed in with a non-numeric value ... On Apr 4, 2005 11:43 AM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > As to scoping it with variables., as in "variables.photos", why > is that important? > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201387 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
RE: Anything wrong with this statement?
Thanks for the replies, everyone... I've ensured the value / variable exists by preceding it with As to scoping it with variables., as in "variables.photos", why is that important? Charlie...why do I ask? Well, I'm trying to increment the value, and so far, it's not working...something must be wrong in my other code somewhere...I didn't think there was anything wrong with it "in and of itself", but wanted to be sure... I'll tinker with the code some more and see what I can dig up... Rick -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 12:32 PM To: CF-Talk Subject: Re: Anything wrong with this statement? Rick Faircloth wrote: > Is there anything wrong with this statement in an of itself? > > wrong? it assumes a value for Photos already exists? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201385 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
Re: Anything wrong with this statement?
Rick Faircloth wrote: > Is there anything wrong with this statement in an of itself? > > wrong? it assumes a value for Photos already exists? ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201381 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: Anything wrong with this statement?
Your right, but they should be var scoped. I assumed people would realize when I said "I like" they would understand what I meant. I assumed wrong. :-) -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 12:12 PM To: CF-Talk Subject: Re: Anything wrong with this statement? yes, but what you like to do (placing parens around calculations) doesn't mean there's anything wrong with the original statement "in and of itself"... On Apr 4, 2005 12:07 PM, Bryan F. Hogan <[EMAIL PROTECTED]> wrote: > > Yes, photos should be var scoped and I like to place parins around my > calcs. > > -Original Message- > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > Sent: Monday, April 04, 2005 12:06 PM > To: CF-Talk > Subject: Anything wrong with this statement? > > Is there anything wrong with this statement in an of itself? > > > > Rick > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201379 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: Anything wrong with this statement?
yes, but what you like to do (placing parens around calculations) doesn't mean there's anything wrong with the original statement "in and of itself"... On Apr 4, 2005 12:07 PM, Bryan F. Hogan <[EMAIL PROTECTED]> wrote: > > Yes, photos should be var scoped and I like to place parins around my > calcs. > > -Original Message- > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > Sent: Monday, April 04, 2005 12:06 PM > To: CF-Talk > Subject: Anything wrong with this statement? > > Is there anything wrong with this statement in an of itself? > > > > Rick > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201377 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: Anything wrong with this statement?
no. of course, curious as to why you ask... :) On Apr 4, 2005 12:05 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Is there anything wrong with this statement in an of itself? > > > > Rick > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201375 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
RE: Anything wrong with this statement?
No, not really...I would just variable type it.. Say You will have to ensure photos is numeric. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 17:06 To: CF-Talk Subject: Anything wrong with this statement? Is there anything wrong with this statement in an of itself? Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201373 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: Anything wrong with this statement?
Yes, photos should be var scoped and I like to place parins around my calcs. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 12:06 PM To: CF-Talk Subject: Anything wrong with this statement? Is there anything wrong with this statement in an of itself? Rick ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201372 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
Anything wrong with this statement?
Is there anything wrong with this statement in an of itself? Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201371 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