Bug: Function defined inside Scope context

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60608
interpreted = N
texte = Through a bit of trial and tribulation I isolated a bug in WebDNA 6 (OSX at least)... If you define a function inside a SCOPE context, and the function uses a RETURN context, then calling that function will cause WebDNA to never return from the function call.. Example: [scope name=dummy] [function name=CallMe] [return]555-1212[/return] [/function] [CallMe] [/scope] If the function is defined outside of the scope, or the return context is not used inside the function, then the code works fine. - Brian -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Bug: Function defined inside Scope context ( Brian Fries 2004)
Through a bit of trial and tribulation I isolated a bug in WebDNA 6 (OSX at least)... If you define a function inside a SCOPE context, and the function uses a RETURN context, then calling that function will cause WebDNA to never return from the function call.. Example: [scope name=dummy] [function name=CallMe] [return]555-1212[/return] [/function] [CallMe] [/scope] If the function is defined outside of the scope, or the return context is not used inside the function, then the code works fine. - Brian -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Brian Fries

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:

PIXO support (1997) Email Set-Up? (1997) Re[2]: Adding discount to cart (2000) Faxing orders in place of email (1997) Change extension (2000) RE: Languages (1997) HTML editing and webcatalog (2000) [WebDNA] HTML/OS vs. WebDNA ? (2008) NT Setup (1998) OT : Firewall for webserver (2006) WebCatalog2 Feature Feedback (1996) using WebCat for Associate Programs? (1998) Multiple Passwords (1997) BR (1997) [WebDNA] Some code inside a large loops fail ... but why? (2010) Help formatting search results w/ table (1997) WC2b12: Yes, Formulas.db is for real (1997) mac hack (1997) Exclamation point (1997) passing search criteria (1997)