[WebDNA] function variables

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106817
interpreted = N
texte = add to the wish list: being able to set the names of incoming variables when defining the = function. CURRENTLY: [function name=3DBackwards] [text]length=3D[countchars][instring][/countchars][/text] [loop start=3D[length]&end=3D1&advance=3D-1][getchars = start=3D[index]&end=3D[index]][instring][/getchars][/loop] [/function] [Backwards instring=3Dabcdef_12345] SUGGESTED: define: [function name=3DBackwards&variables=3Dinstring] (& other user defined = variable names sep by commas) [text]length=3D[countchars][instring][/countchars][/text] [loop start=3D[length]&end=3D1&advance=3D-1][getchars = start=3D[index]&end=3D[index]][instring][/getchars][/loop] [/function] use: [Backwards abcdef_12345] -------- define: [function name=3Dtaxmonger&variables=3Dzip] [yadda yadda][zip][/yadda yadda] [/function] use: [taxmonger [billingzipcode]] & a little later in the page: [taxmonger [shipzip]] -------- define: [function name=3Dmadlibs&variables=3Dname,color,place,fruit,size][/functio= n] use: [madlibs William,blue,Sarasota FL,orange,grande] Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] function variables (William DeVaul 2011)
  2. Re: [WebDNA] function variables ("Brian B. Burton" 2011)
  3. Re: [WebDNA] function variables (Brian Fries 2011)
  4. [WebDNA] function variables ("Brian B. Burton" 2011)
add to the wish list: being able to set the names of incoming variables when defining the = function. CURRENTLY: [function name=3DBackwards] [text]length=3D[countchars][instring][/countchars][/text] [loop start=3D[length]&end=3D1&advance=3D-1][getchars = start=3D[index]&end=3D[index]][instring][/getchars][/loop] [/function] [Backwards instring=3Dabcdef_12345] SUGGESTED: define: [function name=3DBackwards&variables=3Dinstring] (& other user defined = variable names sep by commas) [text]length=3D[countchars][instring][/countchars][/text] [loop start=3D[length]&end=3D1&advance=3D-1][getchars = start=3D[index]&end=3D[index]][instring][/getchars][/loop] [/function] use: [Backwards abcdef_12345] -------- define: [function name=3Dtaxmonger&variables=3Dzip] [yadda yadda][zip][/yadda yadda] [/function] use: [taxmonger [billingzipcode]] & a little later in the page: [taxmonger [shipzip]] -------- define: [function name=3Dmadlibs&variables=3Dname,color,place,fruit,size][/functio= n] use: [madlibs William,blue,Sarasota FL,orange,grande] "Brian B. Burton"

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:

Emailer file formats (1998) Still having problems with Authen (1997) no global [username] or [password] displayed ... (1997) Hard Questions ? (1997) [WebDNA] Grep everything and replace with asterisks? (2010) Thanks Grant (1997) Converting DOS database (2000) Shipping charge question (2003) RE: pricing continued (1998) [shownext] and descending order (1997) Banner DNA (1997) RequiredFields template (1997) Protect and Serve (1999) Error Msg (1997) WebCatalog for Postcards ? (1997) macosx 1 process, linux N processes, macosx chokes under load (2001) WebTen and WebCat (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) email error (2003)