No, writing code to generate code is by most standards dangerous is what I meant by 'bad idea'.
Like I said though, sure you had a good reason. Didn't want to offend by any means, and if I did, my apologies. =D Nate Nielsen [EMAIL PROTECTED] ----- Original Message ----- From: "Gregory Price" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 15, 2002 3:52 PM Subject: Re: cfml stored in variable > I'm building a simple content management system for flash, but I need to run > some conditionals to check for dead links and the like. What I have > resolved to do is just write to cfm files rather than storing into tables. > I didnt catch the bad idea thing... were you saying writing to this files is > a bad idea? if so, why? > greg > > ----- Original Message ----- > From: "Nate Nielsen" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 15, 2002 3:42 PM > Subject: Re: cfml stored in variable > > > > Make/change the file upon any change to that column or insertion so you > dont > > have to do it upon page execution of course. hehe =D > > > > Bad idea all around, but I am sure you have your reasons. Smells like the > > need for a content engine. Mind sharring what the objective is? > > > > Perhaps one of the guru's can help you come up with a better solution, > > hopefully one that won't triple your deadline. ;) > > > > Nate > > > > ----- Original Message ----- > > From: "Gregory Price" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, February 15, 2002 2:26 PM > > Subject: Re: cfml stored in variable > > > > > > > i dont think so either... i will have to write to a file to get what i > > want > > > here > > > > > > ----- Original Message ----- > > > From: <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, February 15, 2002 2:19 PM > > > Subject: Re: cfml stored in variable > > > > > > > > > > I don't think it is possible to do this they way you are thinking. > > > > > > > > Evaluate will take care of simple expressions like > > > "string#variable#string" > > > > or even "#a# eq #b", but I don't think you can get it to do > > > > "<cfset var="a"><cfoutput>#a#</cfoutput>"... > > > > > > > > Patrick Steil > > > > Co-Chairman, DFW ColdFusion User Group > > > > CTO, Infrastructure Incorporated > > > > http://www.dfwcfug.org > > > > [EMAIL PROTECTED] > > > > 940-243-8212 x105 > > > > > > > > > > > > > > > > > > > > > > > > At 12:40 PM 2/15/02 -0600, you wrote: > > > > >What i was forgetting were the double quotes in the evaluate > > function... > > > but > > > > >it is not working the way i want it to. what i am trying to do is > > store > > > > >CFML in a database and run it in a page... > > > > >so the variable in question looks like... > > > > > > > > > ><cfset test="hello world"> > > > > >#test# > > > > >This all stored in some cell. Is it even possible to run this ? Do > I > > > need > > > > >to reconsider the way I am storing this data, or the format I am > > storing > > > it > > > > >in the DB? > > > > > > > > > >thanks for your help! > > > > > > > > > >----- Original Message ----- > > > > >From: "Billy Cravens" <[EMAIL PROTECTED]> > > > > >To: <[EMAIL PROTECTED]> > > > > >Sent: Friday, February 15, 2002 12:33 PM > > > > >Subject: RE: cfml stored in variable > > > > > > > > > > > > > > > > I'd just like to add that if you can, try to avoid using this - > this > > > > > > will be significantly slower than straight execution. > > > > > > > > > > > > --- > > > > > > Billy Cravens > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > On > > > > > > Behalf Of Ricardo Sanoja > > > > > > Sent: Friday, February 15, 2002 12:08 PM > > > > > > To: [EMAIL PROTECTED] > > > > > > Subject: RE: cfml stored in variable > > > > > > > > > > > > Try #Evaluate(DE("#variables.var#"))# > > > > > > > > > > > > > > > > > > Sincerely, > > > > > > Ricardo Sanoja > > > > > > Senior Web Architect > > > > > > Version 4 Technologies, LLC. > > > > > > 4288 Kellway Circle > > > > > > Addison, TX 75001-4200 > > > > > > > > > > > > 214.641.5255 > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > -----Original Message----- > > > > > > From: Gregory Price [mailto:[EMAIL PROTECTED]] > > > > > > Sent: Friday, February 15, 2002 12:09 PM > > > > > > To: [EMAIL PROTECTED] > > > > > > Subject: cfml stored in variable > > > > > > > > > > > > > > > > > > Does anyone know how to run CFML code stored in a variable? > > > > > > I thought using evaluate function would work, but no luck. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > - > > > > > > This email server is running an evaluation copy of the MailShield > > > anti- > > > > > > spam software. Please contact your email administrator if you have > > any > > > > > > questions about this message. MailShield product info: > > > > > > www.mailshield.com > > > > > > > > > > > > ----------------------------------------------- > > > > > > To post, send email to [EMAIL PROTECTED] > > > > > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > This email server is running an evaluation copy of the MailShield > > > anti- > > > > > > spam software. Please contact your email administrator if you have > > any > > > > > > questions about this message. MailShield product info: > > > www.mailshield.com > > > > > > > > > > > > ----------------------------------------------- > > > > > > To post, send email to [EMAIL PROTECTED] > > > > > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > > > > > > > > > > > > >------------------------------------------------------------------------- > > > > >This email server is running an evaluation copy of the MailShield > anti- > > > > >spam software. Please contact your email administrator if you have > any > > > > >questions about this message. MailShield product info: > > www.mailshield.com > > > > > > > > > >----------------------------------------------- > > > > >To post, send email to [EMAIL PROTECTED] > > > > >To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This email server is running an evaluation copy of the MailShield > anti- > > > > spam software. Please contact your email administrator if you have any > > > > questions about this message. MailShield product info: > > www.mailshield.com > > > > > > > > ----------------------------------------------- > > > > To post, send email to [EMAIL PROTECTED] > > > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > > > > > > ------------------------------------------------------------------------- > > > This email server is running an evaluation copy of the MailShield anti- > > > spam software. Please contact your email administrator if you have any > > > questions about this message. MailShield product info: > www.mailshield.com > > > > > > ----------------------------------------------- > > > To post, send email to [EMAIL PROTECTED] > > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > > > > > ------------------------------------------------------------------------- > > This email server is running an evaluation copy of the MailShield anti- > > spam software. Please contact your email administrator if you have any > > questions about this message. MailShield product info: www.mailshield.com > > > > ----------------------------------------------- > > To post, send email to [EMAIL PROTECTED] > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > ------------------------------------------------------------------------- > This email server is running an evaluation copy of the MailShield anti- > spam software. Please contact your email administrator if you have any > questions about this message. MailShield product info: www.mailshield.com > > ----------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To subscribe / unsubscribe: http://www.dfwcfug.org > ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
