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:

emailer (1997) Paths (1998) FileMaker Pro (1999) RE: protect tag on NT (1997) Error Messges (1997) Secure server question (1997) Absolute path (2003) Artwork (1997) NT vs Mac (1997) emailer error -108 (1997) [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (2009) Extended [ConvertChars] (1997) can WC render sites out? (1997) How to Display text in empty fields (1997) [Webcat 2]Next (1997) Re:redirect from the errorsMessages.db entry (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) WC2.0 Memory Requirements (1997) Document Contains No Data! (1997) Help! WebMerchant store suddenly won't process orders... (2001)