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:

Configuring E-mail (1997) Re:mac hack (1997) Separate SSL Server (1997) Database Not Found Problem (2004) [lookup] vs. [search] (1998) show me your store ! (2003) Magic [text] shows and then no show (2000) Fun with Dates - revisited (1997) CR's (2003) Has anyone used WebCatalog with CGatePro? (2000) WebCat2b15MacPlugin - [protect] (1997) Automated FTP from Shell - Update (2004) Read and Write (2001) lookup and two records? (1997) AutoCommit Preference? (1998) PCS Emailer's role ? (1997) Stumpted Again (1997) looping table rows (1999) OT: Digger (2007) WebCat2: multiple currency support (1997)