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:

Help! WebCat2 bug (1997) EDC Forum V.2 Beta - Test Request (2008) help with autenticate (1998) wish list (2002) WebCatalog 402rc2 is now available (2001) WebCatalog2 Feature Feedback (1996) WebCatalog-NT?'s (1996) Stinkin' [Referrer] (1998) Getting Total Quantity (1997) Nested vs conditional (1997) Protecting webdelivery (1997) from product to cart to orders folder in one operation? (2000) [WebDNA] WebDNA version 7 feature list? (2011) Shipping charge question (2003) WCS Newbie question (1997) [WebDNA] Valid input from a post search form (2013) European Dates (1998) Running 2 two WebCatalog.acgi's (1996) Hiding HTML and page breaks (1997) [carts] and databases (1997)