Re: [WebDNA] for a rainy day.. if ever/when the hood is up again

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107493
interpreted = N
texte = Govinda wrote: > Feature request: > > correct me if I am wrong, but it would be more modern if parsing would drop out of the [function] (with the [return] val.) whenever [return] was hit. I.e. it should be allowed to have many [return]'s inside conditionals.. inside the function... so we can just up and decide to jump out of the function with the return val at that point. The functionality of not breaking out of the function context when hitting a [return][/return] was by design.. this was so people can sculpt returns... ie., string of variables... ----------------------- [function ..] [return]f_string=[/return] [showif blah=] [return]&f_something=[/return] [/showif] [showif otherblah=] [return]&f_other=[/return] [/showif] [/function] ---- [f_string] [f_something] [f_other] ---------------------- sure, the above could be done other ways.. but the functionality adds some useful properties in my opinion. Donovan -- Donovan Brooke Euca Design Center www.euca.us www.keepitturning.co Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] for a rainy day.. if ever/when the hood is up again on the [function]/[return] code (Govinda 2011)
  2. Re: [WebDNA] for a rainy day.. if ever/when the hood is up again (Donovan Brooke 2011)
  3. Re: [WebDNA] for a rainy day.. if ever/when the hood is up again on the [function]/[return] code (Govinda 2011)
  4. Re: [WebDNA] for a rainy day.. if ever/when the hood is up again (Donovan Brooke 2011)
  5. [WebDNA] for a rainy day.. if ever/when the hood is up again on the [function]/[return] code (Govinda 2011)
Govinda wrote: > Feature request: > > correct me if I am wrong, but it would be more modern if parsing would drop out of the [function] (with the [return] val.) whenever [return] was hit. I.e. it should be allowed to have many [return]'s inside conditionals.. inside the function... so we can just up and decide to jump out of the function with the return val at that point. The functionality of not breaking out of the function context when hitting a [return][/return] was by design.. this was so people can sculpt returns... ie., string of variables... ----------------------- [function ..] [return]f_string=[/return] [showif blah=] [return]&f_something=[/return] [/showif] [showif otherblah=] [return]&f_other=[/return] [/showif] [/function] ---- [f_string] [f_something] [f_other] ---------------------- sure, the above could be done other ways.. but the functionality adds some useful properties in my opinion. Donovan -- Donovan Brooke Euca Design Center www.euca.us www.keepitturning.co Donovan Brooke

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:

Updating Prices in DB (working) (1999) [ShowNext] feature in 2.0 (1997) Emailer [cart] file names (1997) Re:no [search] with NT (1997) Server Freeze (1998) Re:WebDNA made easier? (1998) WebCat2final1 crashes (1997) WebDNA for Dummies (2004) triggers (2003) OT:CAll me Crazy (2000) learning PHP (2007) [random] only for 1-100??? (1997) Format all of a sudden doesn't work (1997) WebMerchant %s error using Authorize.Net (2000) Server Freeze (1998) 2.0Beta Command Ref (can't find this instruction) (1997) WebStar 3 crackable !!!! (1998) Clean Code: Rules for inserting keyboard returns? (1997) setting taxable to true (1997) WebDNA Speed Test (2008)