Re: Function basic question

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67303
interpreted = N
texte = Looks like you have it under control :) Stuart Tremain idfk web developments, sydney, australia On 29 May 2006, at 2:25 PM, Terry Wilson wrote: > I am interested in making use of the Function feature. I'd like to > define a few tags that will be at the ready when I need them. As I > understand it, a function can be like setting a text variable > that's always available anywhere. Is this correct... > > [function name=cookie1year][format days_to_date %A, %d-%b-%Y][math] > {[date]}+{00/00/0001}[/math][/format] [math time]{[time]}+{05:00:00} > [showif [date %Z]=EDT]-{01:00:00}[/showif][/math] GMT[/function] > > ...then when setting a cookie, [cookie1year] will insert the above > rendered text where I need it? And it will freshly interpret the > date and time tags each time? > > Thanks, > Terry > -- > Terry Wilson | terry@terryfic.com | http://terryfic.com > http://WhosComing.com - a simplified, affordable online reservation > system > http://TightPods.com -- stylish protection for your laptop > ---------------------------------------------------------------------- > ---- > Attitude is the only difference between ordeal and adventure. > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Function basic question ( Terry Wilson 2006)
  2. Re: Function basic question ( "Nitai @ ComputerOil" 2006)
  3. Re: Function basic question ( Stuart Tremain 2006)
  4. Function basic question ( Terry Wilson 2006)
Looks like you have it under control :) Stuart Tremain idfk web developments, sydney, australia On 29 May 2006, at 2:25 PM, Terry Wilson wrote: > I am interested in making use of the Function feature. I'd like to > define a few tags that will be at the ready when I need them. As I > understand it, a function can be like setting a text variable > that's always available anywhere. Is this correct... > > [function name=cookie1year][format days_to_date %A, %d-%b-%Y][math] > {[date]}+{00/00/0001}[/math][/format] [math time]{[time]}+{05:00:00} > [showif [date %Z]=EDT]-{01:00:00}[/showif][/math] GMT[/function] > > ...then when setting a cookie, [cookie1year] will insert the above > rendered text where I need it? And it will freshly interpret the > date and time tags each time? > > Thanks, > Terry > -- > Terry Wilson | terry@terryfic.com | http://terryfic.com > http://WhosComing.com - a simplified, affordable online reservation > system > http://TightPods.com -- stylish protection for your laptop > ---------------------------------------------------------------------- > ---- > Attitude is the only difference between ordeal and adventure. > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Why is my easy [AddLineItems] NOT working?? (2000) WebCatalog can't find database (1997) [Sum] function? (1997) Upgrade to WebCat2 from Commerce Lite (1997) Email troubles (2005) Error log crashes server? (1999) Test (2003) & not allowed in db by definition? (1999) Bit off subject -- Faxing orders (1997) Stopping bad HTML propagation ? (1997) Protect (1997) RE: MacFinder -- a new WebDNA web site (1998) upgrading (1997) AuthorizeNet Bug (2002) [WebDNA] WebSite Examples (2008) Searching multiple Databases (1997) Thanks and Big News!!! (1997) return missing item (was:WebCat Sales) (1997) E-Mail (1998) email program problem (1998)