[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:

credit card (1997) bug in [SendMail] (1997) PIXO Support (1997) Webcatalog quitting (1997) Confused about Grep Syntax (2004) A good idea? (1998) Feature Request: [moverecord] (2003) Search syntax question (1998) Test (2003) Shopping Cart Directory (2000) Now you see it now you donīt (1997) Separate SSL Server (1997) External Images (1998) PCS Frames (1997) math problems (2000) New Installation (1998) Providing hard copy of database to client (1997) Configuring E-mail (1997) Limit to variables being passed??? (1998) triggering an update of two frames (1998)